예제 #1
0
		internal HttpRequest(HttpClient client)
		{
			dataMode = DataMode.Text;
			state = ProcessingState.RequestLine;
			connMode = ConnectionMode.KeepAlive;
			this.client = client;
			response = new HttpResponse(this);
		}
예제 #2
0
		internal ResponseEventArgs(HttpClient client, HttpResponse response, long contentLength) : base(client)
		{
			this.response = response;
			this.contentLength = contentLength;
		}
예제 #3
0
		internal ResponseEventArgs(HttpClient client, HttpResponse response) : this(client, response, -1)
		{
		}