示例#1
0
 def is_open(self):
     """
     Returns:
         bool: True if this connection is open and usable, False otherwise.
         Check :attr:`shutdown_future` to know when the connection is completely
         finished shutting down.
     """
     return _awscrt.http_connection_is_open(self._binding)
示例#2
0
 def is_open(self):
     """
     Returns True if the connection is open and usable, False otherwise.
     """
     return _awscrt.http_connection_is_open(self._binding)