Skip to content

Commit 9763798

Browse files
Jks15063benoitc
authored andcommitted
Fix misspellings (#574)
1 parent 78e02d2 commit 9763798

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/hackney.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ setopts(Ref::<a href="#type-client_ref">client_ref()</a>, Options::list()) -&gt;
529529
set client options.
530530
Options are:
531531
- `async`: to fetch the response asynchronously
532-
- `{async, once}`: to receive the response asynchronously once time.
532+
- `{async, once}`: to receive the response asynchronously one time.
533533
To receive the next message use the function `hackney:stream_next/1`.
534534
- `{stream_to, pid()}`: to set the pid where the messages of an
535535
asynchronous response will be sent.
@@ -642,4 +642,3 @@ stream_next(Ref::<a href="#type-client_ref">client_ref()</a>) -&gt; ok | {error,
642642

643643
continue to the next stream message. Only use it when
644644
`{async, once}` is set in the client options.
645-

src/hackney.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ cancel_request(Ref) ->
9595
%% @doc set client options.
9696
%% Options are:
9797
%% - `async': to fetch the response asynchronously
98-
%% - `{async, once}': to receive the response asynchronously once time.
98+
%% - `{async, once}': to receive the response asynchronously one time.
9999
%% To receive the next message use the function `hackney:stream_next/1'.
100100
%% - `{stream_to, pid()}': to set the pid where the messages of an
101101
%% asynchronous response will be sent.

0 commit comments

Comments
 (0)