From a76107273739087a6c733d35f961796bda5d6076 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Thu, 16 May 2024 15:41:35 -0700 Subject: [PATCH] L112 update: Add getHost method to ServerInterceptingCall --- L112-node-server-interceptors.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/L112-node-server-interceptors.md b/L112-node-server-interceptors.md index ea2249f69..d32ea64bf 100644 --- a/L112-node-server-interceptors.md +++ b/L112-node-server-interceptors.md @@ -83,6 +83,10 @@ class ServerInterceptingCall { * Return the call deadline set by the client. The value is Infinity if there is no deadline. */ getDeadline(): Deadline; + /** + * Return the host requested by the client in the ":authority" header. + */ + getHost(): string; } ```