Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-gax / build / src / routingHeader.d.ts
diff --git a/legacy-libs/google-gax/build/src/routingHeader.d.ts b/legacy-libs/google-gax/build/src/routingHeader.d.ts
new file mode 100644 (file)
index 0000000..2cc7754
--- /dev/null
@@ -0,0 +1,17 @@
+/**
+ * Helpers for constructing routing headers.
+ *
+ * These headers are used by Google infrastructure to determine how to route
+ * requests, especially for services that are regional.
+ *
+ * Generally, these headers are specified as gRPC metadata.
+ */
+/**
+ * Constructs the routing header from the given params
+ *
+ * @param {Object} params - the request header parameters.
+ * @return {string} the routing header value.
+ */
+export declare function fromParams(params: {
+    [index: string]: {};
+}): string;