You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,9 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`.
186
186
`protoc-gen-grpc-gateway` supports custom mapping from Protobuf `import` to Golang import path.
187
187
They are compatible to [the parameters with same names in`protoc-gen-go`](https://github.com/golang/protobuf#parameters).
188
188
189
+
In addition we also support the `request_context` parameter in order to use the `http.Request`'s Context (only for Go 1.7 and above).
190
+
This parameter can be useful to pass request scoped context between the gateway and the gRPC service.
191
+
189
192
`protoc-gen-grpc-gateway` also supports some more command line flags to control logging. You can give these flags together with parameters above. Run `protoc-gen-grpc-gateway --help` for more details about the flags.
0 commit comments