PostWebRequest Constructor (Uri, String, String) |
Initializes a new instance of the
PostWebRequest class, specifying the destination, request data and content type.
Namespace:
NScrape
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax public PostWebRequest(
Uri destination,
string requestData,
string contentType
)
Public Sub New (
destination As Uri,
requestData As String,
contentType As String
)
public:
PostWebRequest(
Uri^ destination,
String^ requestData,
String^ contentType
)
new :
destination : Uri *
requestData : string *
contentType : string -> PostWebRequest
Parameters
- destination
- Type: SystemUri
Specifies the destination of the request. - requestData
- Type: SystemString
Contains the request data. - contentType
- Type: SystemString
Contains the MIME content type.
Remarks
Format the request data per the specified MIME content type.
Examples var request = new PostWebRequest( new Uri( "http://www.foo.com" ), "data data data", "text/plain" );
See Also