From ec9d2f24c0e034e1d174bd773e7734a845d1f040 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Wed, 27 Mar 2019 16:45:51 +0100 Subject: [PATCH] Fixes #684: Add a note about how to handle (reject?) requests after a shutdown notification --- specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification.md b/specification.md index 7197775..cda9f76 100644 --- a/specification.md +++ b/specification.md @@ -1923,7 +1923,7 @@ interface InitializedParams { #### Shutdown Request (:leftwards_arrow_with_hook:) -The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit. +The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit. Clients must not sent any notifications other than `exit` or requests to a server to which they have sent a shutdown requests. If a server receives requests after a shutdown request those requests should be errored with `InvalidRequest`. _Request_: * method: 'shutdown'