Constructor HttpReplicator
HttpReplicator(String, Int32, String, HttpMessageHandler)
Creates a new HttpReplicator with the given host, port and path. HttpClientBase(String, Int32, String, HttpMessageHandler) for more details.
Declaration
public HttpReplicator(string host, int port, string path, HttpMessageHandler messageHandler = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | host | |
System.Int32 | port | |
System.String | path | |
HttpMessageHandler | messageHandler |
HttpReplicator(String, HttpMessageHandler)
Creates a new HttpReplicator with the given url. HttpClientBase(String, HttpMessageHandler) for more details.
Declaration
public HttpReplicator(string url, HttpMessageHandler messageHandler = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | |
HttpMessageHandler | messageHandler |
HttpReplicator(String, HttpClient)
Creates a new HttpReplicator with the given url
and
Declaration
public HttpReplicator(string url, HttpClient client)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | |
HttpClient | client |