Commit Graph

19 Commits

Author SHA1 Message Date
Mehrdad Afshari 93166a0b0b Canonicalize https://grpc.io as the preferred URL prefix 2017-07-10 16:28:39 -07:00
MakMukhi 074dbfbc52 Add doc and example for mocking streaming RPCs (#1230)
* Example code for mocking streams
* Added another expectation on the stream
* Documentation for mocking streaming RPCs
2017-05-19 13:36:45 -07:00
dfawley 68a5d50f45 Fix go buildable source file problem (#1213) 2017-05-02 15:55:05 -07:00
dfawley 0c1d39df28 Separate incoming and outgoing metadata in context
This will prevent the incoming RPCs' metadata from appearing in outgoing RPCs
unless it is explicitly copied, e.g.:

incomingMD, ok := metadata.FromContext(ctx)
if ok {
  ctx = metadata.NewContext(ctx, incomingMD)
}

Fixes #1148
2017-04-07 11:54:56 -07:00
MakMukhi 541319e4fb Update gomock-example.md 2016-12-15 14:19:28 -08:00
MakMukhi 54f30019da Update gomock-example.md 2016-12-13 15:43:20 -08:00
MakMukhi 5202729e3a Update gomock-example.md 2016-12-13 14:09:53 -08:00
MakMukhi e6b4662278 Update gomock-example.md 2016-12-13 13:49:43 -08:00
MakMukhi 0708983f29 Create gomock-example.md 2016-12-13 13:10:39 -08:00
Menghan Li cc3363f26e Merge pull request #937 from menghanl/reflection_tutorial
Add server-reflection-tutorial.md
2016-11-29 17:57:20 -08:00
Clive Young b7d24ba0eb correct errors in documentation 2016-11-21 16:07:22 +08:00
Menghan Li b1efb1e37d fixes in reflection_tutorial 2016-10-21 13:40:54 -07:00
Menghan Li 522de0d748 Add server-reflection-tutorial.md 2016-10-20 17:53:38 -07:00
David Wu e80eaf12f2 correct spelling error for the word suffix 2016-10-03 15:20:24 +08:00
Gyu-Ho Lee c4adca718a Documentation: fix metadata.FromContext example
metadata.FromContext returns additional boolean value.
This fixes the example in metadata documentation.
2016-05-12 11:07:32 -07:00
Tim Burks c3d43ed0f4 Update grpc-auth-support.md 2016-04-05 17:31:00 -07:00
Menghan Li b60d4e72a1 Add metadata documentation 2016-03-29 11:00:44 -07:00
Brandon Philips 04e58f3820 Documentation: grpc-auth-support point at gRPC.io
Instead of linking to the gRPC docs in github link to gRPC.io
2015-09-16 18:03:32 -07:00
Brandon Philips f0d0c4955f grpc-auth-support: move to a Documentation folder
Perhaps we should move the examples into this folder too? Clearly this
random bit of documentation doesn't belong in the root folder in any
case.
2015-09-16 18:00:53 -07:00