(r *SessionRunner)
| 918 | } |
| 919 | |
| 920 | func (s *StepRequestExtraction) Run(r *SessionRunner) (*StepResult, error) { |
| 921 | if s.step.Request != nil { |
| 922 | return runStepRequest(r, s.step) |
| 923 | } |
| 924 | if s.step.WebSocket != nil { |
| 925 | return runStepWebSocket(r, s.step) |
| 926 | } |
| 927 | return nil, errors.New("unexpected protocol type") |
| 928 | } |
| 929 | |
| 930 | // StepRequestValidation implements IStep interface. |
| 931 | type StepRequestValidation struct { |
nothing calls this directly
no test coverage detected