MCPcopy
hub / github.com/httprunner/httprunner / PingPong

Method PingPong

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

Source from the content-addressed store, hash-verified

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

Callers 1

TestWebSocketProtocolFunction · 0.80

Calls 1

withUrlMethod · 0.95

Tested by 1

TestWebSocketProtocolFunction · 0.64