Update README.md
Brian Kassouf authored 6 years ago
GitHub committed 6 years ago
55 | 55 | ``` |
56 | 56 | |
57 | 57 | In order for the parser and the signer to work, the authorization headers need to be passed between the request and the context. |
58 | ToHTTPContext(), FromHTTPContext(), ToGRPCContext(), and FromGRPCContext() are given as helpers to do this. | |
58 | `ToHTTPContext()`, `FromHTTPContext()`, `ToGRPCContext()`, and `FromGRPCContext()` are given as helpers to do this. | |
59 | 59 | These function impliment the correlating transport's RequestFunc interface and can be passes as ClientBefore or ServerBefore options. |
60 | 60 | |
61 | 61 | Example of use in a client: |