Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: common/prpc/client.go

Issue 1636873006: server/prpc: updated server according to protocol (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Respond to nits, escape externally-supplied strings when passed to format parameters. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | common/prpc/doc.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/prpc/client.go
diff --git a/common/prpc/client.go b/common/prpc/client.go
new file mode 100644
index 0000000000000000000000000000000000000000..61e02574cf741abdd4db36738049d398408607a2
--- /dev/null
+++ b/common/prpc/client.go
@@ -0,0 +1,12 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package prpc
+
+const (
+ // HeaderGRPCCode is a name of the HTTP header that specifies the
+ // gRPC code in the response.
+ // A pRPC server must always specify it.
+ HeaderGRPCCode = "X-Prpc-Grpc-Code"
+)
« no previous file with comments | « no previous file | common/prpc/doc.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698