public http2stream(ref ptr <http2serverConn> sc = default, uint id = default, ref ptr <http2pipe> body = default, http2closeWaiter cw = default, context.Context ctx = default, Action cancelCtx = default, long bodyBytes = default, long declBodyBytes = default, http2flow flow = default, http2flow inflow = default, http2streamState state = default, bool resetQueued = default, bool gotTrailerHeader = default, bool wroteHeaders = default, ref ptr <time.Timer> writeDeadline = default, Header trailer = default, Header reqTrailer = default) { this.sc = sc; this.id = id; this.body = body; this.cw = cw; this.ctx = ctx; this.cancelCtx = cancelCtx; this.bodyBytes = bodyBytes; this.declBodyBytes = declBodyBytes; this.flow = flow; this.inflow = inflow; this.state = state; this.resetQueued = resetQueued; this.gotTrailerHeader = gotTrailerHeader; this.wroteHeaders = wroteHeaders; this.writeDeadline = writeDeadline; this.trailer = trailer; this.reqTrailer = reqTrailer; }
public http2serverConn(ref ptr <http2Server> srv = default, ref ptr <Server> hs = default, net.Conn conn = default, ref ptr <http2bufferedWriter> bw = default, Handler handler = default, context.Context baseCtx = default, ref ptr <http2Framer> framer = default, channel <object> doneServing = default, channel <http2readFrameResult> readFrameCh = default, channel <http2FrameWriteRequest> wantWriteFrameCh = default, channel <http2frameWriteResult> wroteFrameCh = default, channel <http2bodyReadMsg> bodyReadCh = default, channel <object> serveMsgCh = default, http2flow flow = default, http2flow inflow = default, ref ptr <tls.ConnectionState> tlsState = default, @string remoteAddrStr = default, http2WriteScheduler writeSched = default, http2goroutineLock serveG = default, bool pushEnabled = default, bool sawFirstSettings = default, bool needToSendSettingsAck = default, long unackedSettings = default, long queuedControlFrames = default, uint clientMaxStreams = default, uint advMaxStreams = default, uint curClientStreams = default, uint curPushedStreams = default, uint maxClientStreamID = default, uint maxPushPromiseID = default, map <uint, ptr <http2stream> > streams = default, int initialStreamSendWindowSize = default, int maxFrameSize = default, uint headerTableSize = default, uint peerMaxHeaderListSize = default, map <@string, @string> canonHeader = default, bool writingFrame = default, bool writingFrameAsync = default, bool needsFrameFlush = default, bool inGoAway = default, bool inFrameScheduleLoop = default, bool needToSendGoAway = default, http2ErrCode goAwayCode = default, ref ptr <time.Timer> shutdownTimer = default, ref ptr <time.Timer> idleTimer = default, bytes.Buffer headerWriteBuf = default, ref ptr <hpack.Encoder> hpackEncoder = default, sync.Once shutdownOnce = default) { this.srv = srv; this.hs = hs; this.conn = conn; this.bw = bw; this.handler = handler; this.baseCtx = baseCtx; this.framer = framer; this.doneServing = doneServing; this.readFrameCh = readFrameCh; this.wantWriteFrameCh = wantWriteFrameCh; this.wroteFrameCh = wroteFrameCh; this.bodyReadCh = bodyReadCh; this.serveMsgCh = serveMsgCh; this.flow = flow; this.inflow = inflow; this.tlsState = tlsState; this.remoteAddrStr = remoteAddrStr; this.writeSched = writeSched; this.serveG = serveG; this.pushEnabled = pushEnabled; this.sawFirstSettings = sawFirstSettings; this.needToSendSettingsAck = needToSendSettingsAck; this.unackedSettings = unackedSettings; this.queuedControlFrames = queuedControlFrames; this.clientMaxStreams = clientMaxStreams; this.advMaxStreams = advMaxStreams; this.curClientStreams = curClientStreams; this.curPushedStreams = curPushedStreams; this.maxClientStreamID = maxClientStreamID; this.maxPushPromiseID = maxPushPromiseID; this.streams = streams; this.initialStreamSendWindowSize = initialStreamSendWindowSize; this.maxFrameSize = maxFrameSize; this.headerTableSize = headerTableSize; this.peerMaxHeaderListSize = peerMaxHeaderListSize; this.canonHeader = canonHeader; this.writingFrame = writingFrame; this.writingFrameAsync = writingFrameAsync; this.needsFrameFlush = needsFrameFlush; this.inGoAway = inGoAway; this.inFrameScheduleLoop = inFrameScheduleLoop; this.needToSendGoAway = needToSendGoAway; this.goAwayCode = goAwayCode; this.shutdownTimer = shutdownTimer; this.idleTimer = idleTimer; this.headerWriteBuf = headerWriteBuf; this.hpackEncoder = hpackEncoder; this.shutdownOnce = shutdownOnce; }
public http2clientStream(ref ptr <http2ClientConn> cc = default, ref ptr <Request> req = default, ref ptr <httptrace.ClientTrace> trace = default, uint ID = default, channel <http2resAndError> resc = default, http2pipe bufPipe = default, bool startedWrite = default, bool requestedGzip = default, Action on100 = default, http2flow flow = default, http2flow inflow = default, long bytesRemain = default, error readErr = default, error stopReqBody = default, bool didReset = default, channel <object> peerReset = default, error resetErr = default, channel <object> done = default, bool firstByte = default, bool pastHeaders = default, bool pastTrailers = default, byte num1xx = default, Header trailer = default, ref ptr <Header> resTrailer = default) { this.cc = cc; this.req = req; this.trace = trace; this.ID = ID; this.resc = resc; this.bufPipe = bufPipe; this.startedWrite = startedWrite; this.requestedGzip = requestedGzip; this.on100 = on100; this.flow = flow; this.inflow = inflow; this.bytesRemain = bytesRemain; this.readErr = readErr; this.stopReqBody = stopReqBody; this.didReset = didReset; this.peerReset = peerReset; this.resetErr = resetErr; this.done = done; this.firstByte = firstByte; this.pastHeaders = pastHeaders; this.pastTrailers = pastTrailers; this.num1xx = num1xx; this.trailer = trailer; this.resTrailer = resTrailer; }
public http2ClientConn(ref ptr<http2Transport> t = default, net.Conn tconn = default, ref ptr<tls.ConnectionState> tlsState = default, uint reused = default, bool singleUse = default, channel<object> readerDone = default, error readerErr = default, time.Duration idleTimeout = default, ref ptr<time.Timer> idleTimer = default, sync.Mutex mu = default, ref ptr<sync.Cond> cond = default, http2flow flow = default, http2flow inflow = default, bool closing = default, bool closed = default, bool wantSettingsAck = default, ref ptr<http2GoAwayFrame> goAway = default, @string goAwayDebug = default, map<uint, ptr<http2clientStream>> streams = default, uint nextStreamID = default, long pendingRequests = default, map<array<byte>, channel<object>> pings = default, ref ptr<bufio.Writer> bw = default, ref ptr<bufio.Reader> br = default, ref ptr<http2Framer> fr = default, time.Time lastActive = default, time.Time lastIdle = default, uint maxFrameSize = default, uint maxConcurrentStreams = default, ulong peerMaxHeaderListSize = default, uint initialWindowSize = default, bytes.Buffer hbuf = default, ref ptr<hpack.Encoder> henc = default, slice<slice<byte>> freeBuf = default, sync.Mutex wmu = default, error werr = default) { this.t = t; this.tconn = tconn; this.tlsState = tlsState; this.reused = reused; this.singleUse = singleUse; this.readerDone = readerDone; this.readerErr = readerErr; this.idleTimeout = idleTimeout; this.idleTimer = idleTimer; this.mu = mu; this.cond = cond; this.flow = flow; this.inflow = inflow; this.closing = closing; this.closed = closed; this.wantSettingsAck = wantSettingsAck; this.goAway = goAway; this.goAwayDebug = goAwayDebug; this.streams = streams; this.nextStreamID = nextStreamID; this.pendingRequests = pendingRequests; this.pings = pings; this.bw = bw; this.br = br; this.fr = fr; this.lastActive = lastActive; this.lastIdle = lastIdle; this.maxFrameSize = maxFrameSize; this.maxConcurrentStreams = maxConcurrentStreams; this.peerMaxHeaderListSize = peerMaxHeaderListSize; this.initialWindowSize = initialWindowSize; this.hbuf = hbuf; this.henc = henc; this.freeBuf = freeBuf; this.wmu = wmu; this.werr = werr; }