Decode decodes the raw request into the provided target from a JSON format. It provides an error if the decoding failed, which should be passed back through the request handler.
(target interface{})
| 11 | // Decode decodes the raw request into the provided target from a JSON format. It provides an |
| 12 | // error if the decoding failed, which should be passed back through the request handler. |
| 13 | Decode(target interface{}) error |
| 14 | } |
| 15 | |
| 16 | // ServerResponse is a response structure that can be used by the RequestHandler to set the response details. |
no outgoing calls