MCPcopy Create free account
hub / github.com/andeya/erpc / SetBodyCodec

Method SetBodyCodec

context.go:294–296  ·  view source on GitHub ↗

SetBodyCodec sets the body codec for reply message.

(bodyCodec byte)

Source from the content-addressed store, hash-verified

292
293// SetBodyCodec sets the body codec for reply message.
294func (c *handlerCtx) SetBodyCodec(bodyCodec byte) {
295 c.output.SetBodyCodec(bodyCodec)
296}
297
298// AddXferPipe appends transfer filter pipe of reply message.
299func (c *handlerCtx) AddXferPipe(filterID ...byte) {

Callers

nothing calls this directly

Calls 1

SetBodyCodecMethod · 0.65

Tested by

no test coverage detected