WebClient.OpenWrite Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
OpenWrite(String)
Opens a stream that is used to send data to provided URI.
Declaration
public Stream OpenWrite(string uri)
Parameters
Type | Name | Description |
---|---|---|
String | uri | Uri to send data to. |
Returns
Type | Description |
---|---|
Stream | Opened stream. |
Remarks
HTTP method POST is used.
OpenWrite(Uri)
Opens a stream that is used to send data to provided URI.
Declaration
public Stream OpenWrite(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to send data to. |
Returns
Type | Description |
---|---|
Stream | Opened stream. |
Remarks
HTTP method POST is used.
OpenWrite(String, String)
Opens a stream that is used to send data to provided URI.
Declaration
public Stream OpenWrite(string uri, string method)
Parameters
Type | Name | Description |
---|---|---|
String | uri | Uri to send data to. |
String | method | HTTP method to use when sending the data from the stream. |
Returns
Type | Description |
---|---|
Stream | Opened stream. |
OpenWrite(Uri, String)
Opens a stream that is used to send data to provided URI.
Declaration
public Stream OpenWrite(Uri uri, string method)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to send data to. |
String | method | HTTP method to use when sending the data from the stream. |
Returns
Type | Description |
---|---|
Stream | Opened stream. |