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 committed 2021-04-29 14:02:52 +08:00
1 parent f982873b4a
commit b87d5437e5
4 files changed
+42 -11

No files matched your search

+5
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
}