Beispiel #1
0
 public http2Framer(io.Reader r = default, http2Frame lastFrame = default, error errDetail = default, uint lastHeaderStream = default, uint maxReadSize = default, array <byte> headerBuf = default, Func <uint, slice <byte> > getReadBuf = default, slice <byte> readBuf = default, uint maxWriteSize = default, io.Writer w = default, slice <byte> wbuf = default, bool AllowIllegalWrites = default, bool AllowIllegalReads = default, ref ptr <hpack.Decoder> ReadMetaHeaders = default, uint MaxHeaderListSize = default, bool logReads = default, bool logWrites = default, ref ptr <http2Framer> debugFramer = default, ref ptr <bytes.Buffer> debugFramerBuf = default, Action <@string, object> debugReadLoggerf = default, Action <@string, object> debugWriteLoggerf = default, ref ptr <http2frameCache> frameCache = default)
 {
     this.r                  = r;
     this.lastFrame          = lastFrame;
     this.errDetail          = errDetail;
     this.lastHeaderStream   = lastHeaderStream;
     this.maxReadSize        = maxReadSize;
     this.headerBuf          = headerBuf;
     this.getReadBuf         = getReadBuf;
     this.readBuf            = readBuf;
     this.maxWriteSize       = maxWriteSize;
     this.w                  = w;
     this.wbuf               = wbuf;
     this.AllowIllegalWrites = AllowIllegalWrites;
     this.AllowIllegalReads  = AllowIllegalReads;
     this.ReadMetaHeaders    = ReadMetaHeaders;
     this.MaxHeaderListSize  = MaxHeaderListSize;
     this.logReads           = logReads;
     this.logWrites          = logWrites;
     this.debugFramer        = debugFramer;
     this.debugFramerBuf     = debugFramerBuf;
     this.debugReadLoggerf   = debugReadLoggerf;
     this.debugWriteLoggerf  = debugWriteLoggerf;
     this.frameCache         = frameCache;
 }
Beispiel #2
0
 public http2readFrameResult(http2Frame f = default, error err = default, Action readMore = default)
 {
     this.f        = f;
     this.err      = err;
     this.readMore = readMore;
 }