SkipRequestBodyEncodeDecode prevents Goa from generating the request encoding (client) and decoding (server) code. Instead the service method gets direct access to the HTTP body reader. The client method provides a reader from which to stream the request body. This makes it possible to stream reques
()
| 829 | // }) |
| 830 | // }) |
| 831 | func SkipRequestBodyEncodeDecode() { |
| 832 | e, ok := eval.Current().(*expr.HTTPEndpointExpr) |
| 833 | if !ok { |
| 834 | eval.IncompatibleDSL() |
| 835 | return |
| 836 | } |
| 837 | e.SkipRequestBodyEncodeDecode = true |
| 838 | } |
| 839 | |
| 840 | // SkipResponseBodyEncodeDecode prevents Goa from generating the response |
| 841 | // encoding (server) and decoding (client) code. Instead the service method |
no test coverage detected