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: sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md
-13Lines changed: 0 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,19 +151,6 @@ transport = AioHttpTransport(
151
151
)
152
152
```
153
153
154
-
#### Transport configurations
155
-
156
-
| Parameters | Description |
157
-
| --- | --- |
158
-
| connection_timeout | A single float in seconds for the connection timeout. Defaults to 300 seconds. |
159
-
| read_timeout | A single float in seconds for the read timeout. Defaults to 300 seconds. |
160
-
| connection_verify | SSL certificate verification. Enabled by default. Set to False to disable, alternatively can be set to the path to a CA_BUNDLE file or directory with certificates of trusted CAs. |
161
-
| connection_cert | Client-side certificates. You can specify a local cert to use as client side certificate, as a single file (containing the private key and the certificate) or as a tuple of both files' paths. |
162
-
| proxies | Dictionary mapping protocol or protocol and hostname to the URL of the proxy. |
163
-
| cookies | Dict or CookieJar object to send with the `Request`. |
164
-
| stream | whether to immediately download the response content. Defaults to ``False``. |
165
-
| connection_data_block_size | The block size of data sent over the connection. Defaults to 4096 bytes. |
Copy file name to clipboardExpand all lines: sdk/core/azure-core/README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,28 @@ class TooManyRedirectsError(HttpResponseError):
112
112
113
113
*kwargs* are keyword arguments to include with the exception.
114
114
115
+
### Transport
116
+
117
+
Some common properties can be configured on transports. They must be passed
118
+
as kwargs arguments while building the transport instance.
119
+
120
+
#### Transport configurations
121
+
122
+
| Parameters | Description |
123
+
| --- | --- |
124
+
| connection_timeout | A single float in seconds for the connection timeout. Defaults to 300 seconds. |
125
+
| read_timeout | A single float in seconds for the read timeout. Defaults to 300 seconds. |
126
+
| connection_verify | SSL certificate verification. Enabled by default. Set to False to disable, alternatively can be set to the path to a CA_BUNDLE file or directory with certificates of trusted CAs. |
127
+
| connection_cert | Client-side certificates. You can specify a local cert to use as client side certificate, as a single file (containing the private key and the certificate) or as a tuple of both files' paths. |
128
+
| proxies | Dictionary mapping protocol or protocol and hostname to the URL of the proxy. |
129
+
| cookies | Dict or CookieJar object to send with the `Request`. |
130
+
| stream | whether to immediately download the response content. Defaults to ``False``. |
131
+
| connection_data_block_size | The block size of data sent over the connection. Defaults to 4096 bytes. |
132
+
133
+
#### Async transport
134
+
135
+
The async transport is designed to be opt-in. [AioHttp](https://pypi.org/project/aiohttp/) is one of the supported implementations of async transport. It is not installed by default. You need to install it separately.
0 commit comments