MCPcopy
hub / github.com/httprunner/httprunner / OpenConnection

Method OpenConnection

hrp/step_websocket.go:142–145  ·  view source on GitHub ↗
(url ...string)

Source from the content-addressed store, hash-verified

140}
141
142func (s *StepWebSocket) OpenConnection(url ...string) *StepWebSocket {
143 s.step.WebSocket.Type = wsOpen
144 return s.withUrl(url...)
145}
146
147func (s *StepWebSocket) PingPong(url ...string) *StepWebSocket {
148 s.step.WebSocket.Type = wsPing

Calls 1

withUrlMethod · 0.95