INetHttpCommand

Assembly: Net;

Description

The INetHttpCommand interface is used to set up parameters of work with network resource via HTTP/HTTPS protocol.

Inheritance Hierarchy

INetHttpCommand

Comments

On executing the Connect method, the connection with network resource is established and context to work with it is returned. To set up work parameters, cast the Connect method result to the INetHttpCommand interface.

Properties

  Property name Brief description
AcceptLanguage The AcceptLanguage property sets preferred server response languages to the request.
Command The Command property determines type of command that will be sent to network resource.
ConnectionTimeout The ConnectionTimeout property determines connection timeout of GET request.
ContentType The ContentType property returns contents type obtained after executing the request.
Credential The Credential property returns credentials that are used to identify the user in network resource.
Headers The Headers property returns collection where the list of additional headers is created.
OuterBody The OuterBody property determines whether results are obtained in request body.
SOAPAction The SOAPAction property determines the SOAPAction header that is sent with request.
Timeout The Timeout property determines timeout of GET request.

See also:

Net Assembly Interfaces