WebClient.OpenRead Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
OpenRead(String)
Opens a stream that contains data retrieved from provided URI.
Declaration
public Stream OpenRead(string uri)
Parameters
Type | Name | Description |
---|---|---|
String | uri | URI to retrieve data from. |
Returns
Type | Description |
---|---|
Stream | Opened stream with data retrieved from provided URI. |
Remarks
HTTP method GET is used to retrieve the data.
OpenRead(Uri)
Opens a stream that contains data retrieved from provided URI.
Declaration
public Stream OpenRead(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | URI to retrieve data from. |
Returns
Type | Description |
---|---|
Stream | Opened stream with data retrieved from provided URI. |
Remarks
HTTP method GET is used to retrieve the data.