Send OPTIONS request to the WebSockets interface once per Timeout interval. This allows some deployment environment to correctly detect the status of the application

This commit is contained in:
NI
2021-04-29 14:02:52 +08:00
parent f982873b4a
commit b87d5437e5
4 changed files with 42 additions and 11 deletions

View File

@@ -156,3 +156,8 @@ func (s socketVerification) Get(
return nil
}
func (s socketVerification) Options(
w http.ResponseWriter, r *http.Request, l log.Logger) error {
return nil
}