(url ...string)
| 145 | } |
| 146 | |
| 147 | func (s *StepWebSocket) PingPong(url ...string) *StepWebSocket { |
| 148 | s.step.WebSocket.Type = wsPing |
| 149 | return s.withUrl(url...) |
| 150 | } |
| 151 | |
| 152 | func (s *StepWebSocket) WriteAndRead(url ...string) *StepWebSocket { |
| 153 | s.step.WebSocket.Type = wsWriteAndRead |