/// <summary> /// Sends the request. /// </summary> /// <param name="request">The request.</param> void SendRequest(HttpRequest request) { var stream = new NetworkStream(socket); request.Write(stream); stream.Close(); }