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

Method GetBodyCodec

context.go:289–291  ·  view source on GitHub ↗

GetBodyCodec gets the body codec type of the input message.

()

Source from the content-addressed store, hash-verified

287
288// GetBodyCodec gets the body codec type of the input message.
289func (c *handlerCtx) GetBodyCodec() byte {
290 return c.input.BodyCodec()
291}
292
293// SetBodyCodec sets the body codec for reply message.
294func (c *handlerCtx) SetBodyCodec(bodyCodec byte) {

Callers 1

bindReplyMethod · 0.95

Calls 1

BodyCodecMethod · 0.65

Tested by

no test coverage detected