MCPcopy Index your code
hub / github.com/httprunner/httprunner / CloseConnection

Method CloseConnection

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

Source from the content-addressed store, hash-verified

165}
166
167func (s *StepWebSocket) CloseConnection(url ...string) *StepWebSocket {
168 s.step.WebSocket.Type = wsClose
169 return s.withUrl(url...)
170}
171
172func (s *StepWebSocket) WithParams(params map[string]interface{}) *StepWebSocket {
173 s.step.WebSocket.Params = params

Calls 1

withUrlMethod · 0.95