public ContentServingClient(TcpClient client, bool useSecurity, KeepAliveCallback callback, string filesDirectory, string file404) : base(client, useSecurity, callback) { FilesDirectory = filesDirectory; File404 = file404; }
public HTTPClient(TcpClient client, bool useSecurity, KeepAliveCallback callback) { Client = client; var endPoint = (IPEndPoint)client.Client.RemoteEndPoint; Ip = endPoint.Address.ToString() + ":" + endPoint.Port; UseSecurity = useSecurity; KACallback = callback; }
public PlainClient(TcpClient client, bool useSecurity, KeepAliveCallback callback) : base(client, useSecurity, callback) { }