コード例 #1
0
 internal IncomingBodyEventArgs(HttpClientStream stream, byte[] data)
     : base(stream)
 {
     Data = data;
 }
コード例 #2
0
 internal StreamCompleteEventArgs(HttpClientStream stream, int errorCode)
     : base(stream)
 {
     ErrorCode = errorCode;
 }
コード例 #3
0
 internal IncomingHeadersEventArgs(HttpClientStream stream, HeaderBlock block, HttpHeader[] headers)
     : base(stream)
 {
     Headers = headers;
     Block   = block;
 }
コード例 #4
0
 internal IncomingHeadersDoneEventArgs(HttpClientStream stream, HeaderBlock block)
     : base(stream)
 {
     Block = block;
 }
コード例 #5
0
 internal HttpClientStreamEventArgs(HttpClientStream stream)
 {
     Stream = stream;
 }
コード例 #6
0
        internal void OnIncomingBody(HttpClientStream stream, byte[] data)
        {
            var e = new IncomingBodyEventArgs(stream, data);

            IncomingBody?.Invoke(stream, e);
        }
コード例 #7
0
 internal void OnIncomingHeadersDone(HttpClientStream stream, HeaderBlock block)
 {
     IncomingHeadersDone?.Invoke(stream, new IncomingHeadersDoneEventArgs(stream, block));
 }
コード例 #8
0
 internal void OnIncomingHeaders(HttpClientStream stream, HeaderBlock block, HttpHeader[] headers)
 {
     IncomingHeaders?.Invoke(stream, new IncomingHeadersEventArgs(stream, block, headers));
 }
コード例 #9
0
 internal void OnStreamComplete(HttpClientStream stream, int errorCode)
 {
     StreamComplete?.Invoke(stream, new StreamCompleteEventArgs(stream, errorCode));
 }