MCPcopy
hub / github.com/mattermost/mattermost / Write

Method Write

server/public/plugin/http.go:36–39  ·  view source on GitHub ↗
(args []byte, reply *struct{})

Source from the content-addressed store, hash-verified

34}
35
36func (w *httpResponseWriterRPCServer) Write(args []byte, reply *struct{}) error {
37 _, err := w.w.Write(args)
38 return err
39}
40
41func (w *httpResponseWriterRPCServer) WriteHeader(args int, reply *struct{}) error {
42 // Check if args is a valid http status code. This prevents plugins from crashing the server with a panic.

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected