public response(ref ptr <conn> conn = default, ref ptr <Request> req = default, io.ReadCloser reqBody = default, context.CancelFunc cancelCtx = default, bool wroteHeader = default, bool wroteContinue = default, bool wants10KeepAlive = default, bool wantsClose = default, atomicBool canWriteContinue = default, sync.Mutex writeContinueMu = default, ref ptr <bufio.Writer> w = default, chunkWriter cw = default, Header handlerHeader = default, bool calledHeader = default, long written = default, long contentLength = default, long status = default, bool closeAfterReply = default, bool requestBodyLimitHit = default, slice <@string> trailers = default, atomicBool handlerDone = default, array <byte> dateBuf = default, array <byte> clenBuf = default, array <byte> statusBuf = default, channel <bool> closeNotifyCh = default, int didCloseNotify = default) { this.conn = conn; this.req = req; this.reqBody = reqBody; this.cancelCtx = cancelCtx; this.wroteHeader = wroteHeader; this.wroteContinue = wroteContinue; this.wants10KeepAlive = wants10KeepAlive; this.wantsClose = wantsClose; this.canWriteContinue = canWriteContinue; this.writeContinueMu = writeContinueMu; this.w = w; this.cw = cw; this.handlerHeader = handlerHeader; this.calledHeader = calledHeader; this.written = written; this.contentLength = contentLength; this.status = status; this.closeAfterReply = closeAfterReply; this.requestBodyLimitHit = requestBodyLimitHit; this.trailers = trailers; this.handlerDone = handlerDone; this.dateBuf = dateBuf; this.clenBuf = clenBuf; this.statusBuf = statusBuf; this.closeNotifyCh = closeNotifyCh; this.didCloseNotify = didCloseNotify; }
public Server(@string Addr = default, Handler Handler = default, ref ptr <tls.Config> TLSConfig = default, time.Duration ReadTimeout = default, time.Duration ReadHeaderTimeout = default, time.Duration WriteTimeout = default, time.Duration IdleTimeout = default, long MaxHeaderBytes = default, map <@string, Action <ptr <Server>, ptr <tls.Conn>, Handler> > TLSNextProto = default, Action <net.Conn, ConnState> ConnState = default, ref ptr <log.Logger> ErrorLog = default, Func <net.Listener, context.Context> BaseContext = default, Func <context.Context, net.Conn, context.Context> ConnContext = default, atomicBool inShutdown = default, int disableKeepAlives = default, sync.Once nextProtoOnce = default, error nextProtoErr = default, sync.Mutex mu = default, channel <object> doneChan = default, slice <Action> onShutdown = default) { this.Addr = Addr; this.Handler = Handler; this.TLSConfig = TLSConfig; this.ReadTimeout = ReadTimeout; this.ReadHeaderTimeout = ReadHeaderTimeout; this.WriteTimeout = WriteTimeout; this.IdleTimeout = IdleTimeout; this.MaxHeaderBytes = MaxHeaderBytes; this.TLSNextProto = TLSNextProto; this.ConnState = ConnState; this.ErrorLog = ErrorLog; this.BaseContext = BaseContext; this.ConnContext = ConnContext; this.inShutdown = inShutdown; this.disableKeepAlives = disableKeepAlives; this.nextProtoOnce = nextProtoOnce; this.nextProtoErr = nextProtoErr; this.mu = mu; this.doneChan = doneChan; this.onShutdown = onShutdown; }
public expectContinueReader(ref ptr <response> resp = default, io.ReadCloser readCloser = default, bool closed = default, atomicBool sawEOF = default) { this.resp = resp; this.readCloser = readCloser; this.closed = closed; this.sawEOF = sawEOF; }
public FD(fdMutex fdmu = default, Action Destroy = default, sync.Mutex rmu = default, sync.Mutex wmu = default, ref ptr <asyncIO> raio = default, ref ptr <asyncIO> waio = default, ref ptr <time.Timer> rtimer = default, ref ptr <time.Timer> wtimer = default, atomicBool rtimedout = default, atomicBool wtimedout = default, bool isFile = default) { this.fdmu = fdmu; this.Destroy = Destroy; this.rmu = rmu; this.wmu = wmu; this.raio = raio; this.waio = waio; this.rtimer = rtimer; this.wtimer = wtimer; this.rtimedout = rtimedout; this.wtimedout = wtimedout; this.isFile = isFile; }