MCPcopy
hub / github.com/davyxu/cellnet / httpSession

Struct httpSession

peer/http/session.go:22–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20)
21
22type httpSession struct {
23 peer.CoreContextSet
24 *peer.CoreProcBundle
25 req *http.Request
26 resp http.ResponseWriter
27
28 // 单独保存的保存Peer接口
29 peerInterface cellnet.Peer
30
31 t *template.Template
32
33 respond bool
34 err error
35}
36
37func (self *httpSession) Match(method, url string) bool {
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected