HttpMethodsCreateHttpHost Method

Creates Host header value using current connection parameters.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public static string CreateHttpHost(
	string address,
	string port,
	bool ssl
)

Parameters

address  String
Host name or address of HTTP server.
port  String
Port of HTTP service. It can be empty to use default port.
ssl  Boolean
Whether secure socket layer should be used for HTTP transfer.

Return Value

String

See Also