Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebClient.OpenReadAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 8.0.9673)

OpenReadAsync(String, Object)

Opens a stream that contains data retrieved from provided URI.

Declaration
public Task<Stream> OpenReadAsync(string uri, object state = null)
Parameters
Type Name Description
String uri

URI to retrieve data from.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Stream>

Opened stream with data retrieved from provided URI.

Remarks

HTTP method GET is used to retrieve the data.

OpenReadAsync(Uri, Object)

Opens a stream that contains data retrieved from provided URI.

Declaration
public Task<Stream> OpenReadAsync(Uri uri, object state = null)
Parameters
Type Name Description
Uri uri

URI to retrieve data from.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Stream>

Opened stream with data retrieved from provided URI.

Remarks

HTTP method GET is used to retrieve the data.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies