HTTP2 enables HTTP/2 protocol
()
| 553 | |
| 554 | // HTTP2 enables HTTP/2 protocol |
| 555 | func (s *StepRequest) HTTP2() *StepRequest { |
| 556 | s.step.Request = &Request{ |
| 557 | HTTP2: true, |
| 558 | } |
| 559 | return s |
| 560 | } |
| 561 | |
| 562 | // Loop specify running times for the current step |
| 563 | func (s *StepRequest) Loop(times int) *StepRequest { |
no outgoing calls