neko/server/internal/http/handler/websocket.go

10 lines
151 B
Go
Raw Normal View History

2020-01-13 21:05:38 +13:00
package handler
import (
"net/http"
)
func (h *Handler) WebSocket(w http.ResponseWriter, r *http.Request) error {
return h.manager.Upgrade(w, r)
}