Skip to content

Commit fa384fa

Browse files
Fix documentation.
1 parent 1406b0b commit fa384fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/protocol/http1/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def open!
258258
# @parameter target [String] the request target.
259259
# @parameter version [String] the HTTP version.
260260
# @parameter headers [Hash] the HTTP headers.
261-
# @raises [ProtocolError] if the connection is not in the idle state.
261+
# @raises [RequestRefusedError] if the request was not processed.
262262
def write_request(authority, method, target, version, headers)
263263
open!
264264

0 commit comments

Comments
 (0)