Method: HTTPX::Connection::HTTP1#reset
- Defined in:
- lib/httpx/connection/http1.rb
#reset ⇒ Object
48 49 50 51 52 53 |
# File 'lib/httpx/connection/http1.rb', line 48 def reset @max_requests = .max_requests || MAX_REQUESTS @parser.reset! @handshake_completed = false @pending.unshift(*@requests) end |