Click or drag to resize
ExtendedJsonRestServicesStream Method (Uri, HttpMethod, FuncHttpWebResponse, Boolean, Response, Stream, Int32, Int64, DictionaryString, String, DictionaryString, String, RequestSettings, ActionInt64)
This API is preliminary and subject to change.

Namespace: net.openstack.Providers.Rackspace
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public override Response Stream(
	Uri url,
	HttpMethod method,
	Func<HttpWebResponse, bool, Response> responseBuilderCallback,
	Stream content,
	int bufferSize,
	long maxReadLength,
	Dictionary<string, string> headers,
	Dictionary<string, string> queryStringParameters,
	RequestSettings settings,
	Action<long> progressUpdated
)

Parameters

url
Type: SystemUri
method
Type: JSIStudios.SimpleRESTServices.ClientHttpMethod
responseBuilderCallback
Type: SystemFuncHttpWebResponse, Boolean, Response
content
Type: System.IOStream
bufferSize
Type: SystemInt32
maxReadLength
Type: SystemInt64
headers
Type: System.Collections.GenericDictionaryString, String
queryStringParameters
Type: System.Collections.GenericDictionaryString, String
settings
Type: JSIStudios.SimpleRESTServices.ClientRequestSettings
progressUpdated
Type: SystemActionInt64

Return Value

Type: Response
Remarks
This method expands on the base implementation by avoiding writing to the request stream if HaveResponse is , which prevents the requirement that data be sent in the case where sending the Expect: 100-Continue header resulted in an immediate error response with first send a Continue.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also