You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/api.rst
+49-20
Original file line number
Diff line number
Diff line change
@@ -265,33 +265,45 @@ The maximum total number of connections allowed, per host (i.e. cluster nodes),
265
265
266
266
``resolver``
267
267
------------
268
-
A custom resolver function to resolve host and port values ahead of DNS resolution.
269
-
This function is called with a 2-tuple of (host, port) and should return an iterable of 2-tuples (host, port).
268
+
A custom resolver function to resolve any addresses the driver receives ahead of DNS resolution.
269
+
This function is called with an :class:`.Address` and should return an iterable of :class:`.Address` objects or values that can be used to construct :class:`.Address` objects.
270
270
271
271
If no custom resolver function is supplied, the internal resolver moves straight to regular DNS resolution.
A custom resolver function to resolve host and port values ahead of DNS resolution.
156
-
This function is called with a 2-tuple of (host, port) and should return an iterable of 2-tuples (host, port).
155
+
A custom resolver function to resolve any addresses the driver receives ahead of DNS resolution.
156
+
This function is called with an :class:`.Address` and should return an iterable of :class:`.Address` objects or values that can be used to construct :class:`.Address` objects.
157
157
158
158
If no custom resolver function is supplied, the internal resolver moves straight to regular DNS resolution.
0 commit comments