@@ -346,7 +346,9 @@ The client session supports the context manager protocol for self closing.
346
346
347
347
:param str method: HTTP method
348
348
349
- :param url: Request URL, :class: `str ` or :class: `~yarl.URL `.
349
+ :param url: Request URL, :class: `~yarl.URL ` or :class: `str ` that will
350
+ be encoded with :class: `~yarl.URL ` (see :class: `~yarl.URL `
351
+ to skip encoding).
350
352
351
353
:param params: Mapping, iterable of tuple of *key */*value * pairs or
352
354
string to be sent as parameters in the query
@@ -661,7 +663,9 @@ The client session supports the context manager protocol for self closing.
661
663
Create a websocket connection. Returns a
662
664
:class: `ClientWebSocketResponse ` object.
663
665
664
- :param url: Websocket server url, :class: `str ` or :class: `~yarl.URL `
666
+ :param url: Websocket server url, :class: `~yarl.URL ` or :class: `str ` that
667
+ will be encoded with :class: `~yarl.URL ` (see :class: `~yarl.URL `
668
+ to skip encoding).
665
669
666
670
:param tuple protocols: Websocket protocols
667
671
@@ -826,7 +830,9 @@ certification chaining.
826
830
827
831
:param str method: HTTP method
828
832
829
- :param url: Requested URL, :class: `str ` or :class: `~yarl.URL `
833
+ :param url: Request URL, :class: `~yarl.URL ` or :class: `str ` that will
834
+ be encoded with :class: `~yarl.URL ` (see :class: `~yarl.URL `
835
+ to skip encoding).
830
836
831
837
:param dict params: Parameters to be sent in the query
832
838
string of the new request (optional)
0 commit comments