Opens a stream that contains data retrieved from provided URI.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Function OpenRead ( _
	uri As String _
) As Stream
C#
public Stream OpenRead(
	string uri
)

Parameters

uri
Type: System..::..String
URI to retrieve data from.

Return Value

Opened stream with data retrieved from provided URI.

Remarks

HTTP method GET is used to retrieve the data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also