MCPcopy Create free account
hub / github.com/devfeel/dotweb / HttpContext

Struct HttpContext

context.go:113–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 HttpContext struct {
114 context context.Context
115 // Reserved
116 cancel context.CancelFunc
117 middlewareStep string
118 request *Request
119 routerNode RouterNode
120 routerParams Params
121 response *Response
122 webSocket *WebSocket
123 hijackConn *HijackConn
124 isWebSocket bool
125 isHijack bool
126 isEnd bool // indicating whether the current process should be terminated
127 httpServer *HttpServer
128 sessionID string
129 innerItems core.ConcurrenceMap
130 items core.ConcurrenceMap
131 viewData core.ConcurrenceMap
132 handler HttpHandle
133 tools *Tools
134 }
135
136 WebSocket struct {
137 Conn *websocket.Conn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected