From a34cf6dd1b66bf5bcb91d62161b54c39251b614e Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Tue, 23 Feb 2021 18:59:20 -0500 Subject: [PATCH] handler: Mention ResponseWriter.Close method --- handler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handler.go b/handler.go index 4ef6901..afa71ba 100644 --- a/handler.go +++ b/handler.go @@ -11,7 +11,8 @@ import ( // ServeGemini should write the response header and data to the ResponseWriter // and then return. Returning signals that the request is finished; it is not // valid to use the ResponseWriter after or concurrently with the completion -// of the ServeGemini call. +// of the ServeGemini call. Handlers may also call ResponseWriter.Close to +// manually close the connection. // // Handlers should not modify the provided Request. type Handler interface {