Glossary: Go Beyond the Basics
r.Context()
Also written: request context
The context attached to an HTTP request. It is canceled if the client goes away, so slow handler work can stop early.
Glossary: Go Beyond the Basics
Also written: request context
The context attached to an HTTP request. It is canceled if the client goes away, so slow handler work can stop early.