Skip to content

Commit 2086064

Browse files
author
Michael Rooke
committed
Minor README.org typo/English corrections
1 parent 55c101a commit 2086064

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.org

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ each request, specify the cookie-store with the =:cookie-store= option:
678678
:cookie-store my-cs}))
679679
#+END_SRC
680680

681-
You can also us the =get-cookies= function to retrieve the cookies
681+
You can also use the =get-cookies= function to retrieve the cookies
682682
from a cookie store:
683683

684684
#+BEGIN_SRC clojure
@@ -961,14 +961,14 @@ named =wrap-async-pooling= to the default middleware list. This middleware's
961961
behaviour depends on =*pooling-info*= binding or =:polling-info= in options map.
962962
The =pooling-info= contains =:conn-mgr=, =:allocate= and =:release=.
963963
=:conn-mgr= is the connection manager used in the pooling context, =:allocate=
964-
is a function will be invoked when request start and =:release= will be invoked
965-
when request finished.
964+
is a function that will be invoked when the request starts and =:release= will be invoked
965+
when the request is finished.
966966

967-
=with-async-connection-pool= use the =wrap-async-pooling= to manage the
968-
connection manager, you can also implement your manage strategy.
967+
=with-async-connection-pool= uses the =wrap-async-pooling= to manage the
968+
connection manager; you can also implement your own manage strategy.
969969

970970
If you would prefer to handle managing the connection manager yourself, you can
971-
create a connection manager yourself and specify it for each request:
971+
create a connection manager and specify it for each request:
972972

973973
#+BEGIN_SRC clojure
974974
(def cm (clj-http.conn-mgr/make-reusable-conn-manager {:timeout 2 :threads 3}))
@@ -986,7 +986,7 @@ create a connection manager yourself and specify it for each request:
986986
See the docstring on =make-reusable-conn-manager= for options and default
987987
values.
988988

989-
In current version, pooled async request CANNOT specify connection manager.
989+
In the current version, pooled async request CANNOT specify connection manager.
990990

991991
** Proxies
992992
:PROPERTIES:

0 commit comments

Comments
 (0)