ForwardClient is the duplex interface returned by (*Client).Forward. First Send carries path/method/headers/body, subsequent Sends carry body_chunk only. First Recv carries status/headers, subsequent Recvs carry body_chunk. Caller closes via CloseSend when request is done; stream ends when the upstr
| 820 | // carry body_chunk. Caller closes via CloseSend when request is done; |
| 821 | // stream ends when the upstream finishes and the server closes. |
| 822 | type ForwardClient interface { |
| 823 | Send(*pb.ForwardRequest) error |
| 824 | Recv() (*pb.ForwardReply, error) |
| 825 | CloseSend() error |
| 826 | Context() context.Context |
| 827 | } |
| 828 | |
| 829 | type forwardClient struct { |
| 830 | pb.Backend_ForwardClient |
no outgoing calls
no test coverage detected