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