MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / SetStatus

Method SetStatus

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

SetStatus sets the HTTP status code

(statusCode uint16)

Source from the content-addressed store, hash-verified

17type ServerResponse interface {
18 // SetStatus sets the HTTP status code
19 SetStatus(statusCode uint16)
20 // SetBody sets the object of the response which will be encoded as JSON.
21 SetBody(interface{})
22}

Callers 6

OnRequestMethod · 0.65
OnRequestMethod · 0.65
OnRequestMethod · 0.65
OnRequestMethod · 0.65
OnRequestMethod · 0.65
OnRequestMethod · 0.65

Implementers 1

serverResponsehttp/handler_impl.go

Calls

no outgoing calls

Tested by 1

OnRequestMethod · 0.52