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

Method SetBody

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

SetBody sets the object of the response which will be encoded as JSON.

(interface{})

Source from the content-addressed store, hash-verified

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