From 27a23519edebde8e38a5645fe7f39c74407b9afd Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 1 Dec 2017 17:16:25 +0900 Subject: [PATCH] ing --- servlet/web/gateway_rpc_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servlet/web/gateway_rpc_handlers.go b/servlet/web/gateway_rpc_handlers.go index a11e268..967e2ad 100644 --- a/servlet/web/gateway_rpc_handlers.go +++ b/servlet/web/gateway_rpc_handlers.go @@ -25,7 +25,7 @@ func (sh *GatewayRPCHandlers) Init(serverCTX cwf.ServerContext) error { return nil } -func (sh *GatewayRPCHandlers) Handshake(serverCTX cwf.ServerContext, ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader) { +func (sh *GatewayRPCHandlers) Handshake(socketCTX cwf.SocketContext, ctx *fasthttp.RequestCtx) (id string, extensionsHeader *fasthttp.ResponseHeader) { var ok bool // tokenString := string(soc.Conn().Headers().Cookie("AuthToken")) tokenString := "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJvdmVyRmxvdyIsImlhdCI6MTUwNDU5NTExOSwiZXhwIjoxNTM2MTMxMTE5LCJhdWQiOiJ3d3cub3ZlcmZsb3cuY2xvdWQiLCJzdWIiOiJvdmVyZmxvd0Bsb2FmbGUuY29tIn0.-WQi3OykPlJ9x8RcZGhWXEtGw4GhU6wmyJ_AWh2rMeUatQylfPzvmum2Xfp6pwKLMmcP76XoDPNyq06i7RKWNQ"