Click or drag to resize
ExtendedJsonRestServices.Stream Method (Uri, HttpMethod, Func<HttpWebResponse, Boolean, Response>, Stream, Int32, Int64, Dictionary<String, String>, Dictionary<String, String>, RequestSettings, Action<Int64>)
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: System.Uri
method
Type: JSIStudios.SimpleRESTServices.Client.HttpMethod
responseBuilderCallback
Type: System.Func<HttpWebResponse, Boolean, Response>
content
Type: System.IO.Stream
bufferSize
Type: System.Int32
maxReadLength
Type: System.Int64
headers
Type: System.Collections.Generic.Dictionary<String, String>
queryStringParameters
Type: System.Collections.Generic.Dictionary<String, String>
settings
Type: JSIStudios.SimpleRESTServices.Client.RequestSettings
progressUpdated
Type: System.Action<Int64>

Return Value

Type: Response
Remarks
This method expands on the base implementation by avoiding writing to the request stream if HaveResponse is true, 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