Commit 3e3e7190 authored by AlexStocks's avatar AlexStocks

RunWSEventLoopWithTLS -> RunWSSEventLoop

parent 79dd7fa9
......@@ -18,7 +18,9 @@
>
> 2 session variable -> ss
>
> 3 version: 0.7.01
> 3 RunWSEventLoopWithTLS -> RunWSSEventLoop
>
> 4 version: 0.7.01
- 2017/02/03
> 1 Session struct -> session struct and add Session interface
......
......@@ -236,10 +236,11 @@ func (s *Server) RunWSEventLoop(newSession NewSessionCallback, path string) {
}()
}
// RunWSEventLoopWithTLS serve websocket client request
// serve websocket client request
// RunWSSEventLoop serve websocket client request
// @newSession: new websocket connection callback
// @path: websocket request url path
func (s *Server) RunWSEventLoopWithTLS(newSession NewSessionCallback, path string, cert string, priv string) {
func (s *Server) RunWSSEventLoop(newSession NewSessionCallback, path string, cert string, priv string) {
s.wg.Add(1)
go func() {
defer s.wg.Done()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment