close_request_session
FunctionPrivateSource
syncstream.webtools.close_request_session(sess: urllib3.HTTPResponse)
A callback for the finializer, this function would be used for cleaning the requests session, if the connection does not need to exist.
Arguments
Requires
Argument | Type | Required | |
---|---|---|---|
sess | urllib3.HTTPResponse | The http session (request) to be closed. |