RemoteAddr gives network address of the remote client.
()
| 186 | |
| 187 | // RemoteAddr gives network address of the remote client. |
| 188 | func (w *WebsocketSession) RemoteAddr() string { |
| 189 | return w.conn.RemoteAddr().String() |
| 190 | } |
| 191 | |
| 192 | // ID returns a session id. |
| 193 | func (w *WebsocketSession) ID() string { |