MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / OnRequest

Method OnRequest

http/handler.go:6–6  ·  view source on GitHub ↗

OnRequest is a method receiving a request and is able to respond.

(request ServerRequest, response ServerResponse)

Source from the content-addressed store, hash-verified

4type RequestHandler interface {
5 // OnRequest is a method receiving a request and is able to respond.
6 OnRequest(request ServerRequest, response ServerResponse) error
7}
8
9// ServerRequest is a testdata structure providing decoding from the raw request.

Callers 1

ServeHTTPMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected