OpenQuizz
Une application de gestion des contenus pédagogiques
urllib3.util.wait Namespace Reference

Data Structures

class  NoWayToWaitForSocketError
 

Functions

def select_wait_for_socket (sock, read=False, write=False, timeout=None)
 
def poll_wait_for_socket (sock, read=False, write=False, timeout=None)
 
def null_wait_for_socket (*args, **kwargs)
 
def wait_for_socket (*args, **kwargs)
 
def wait_for_read (sock, timeout=None)
 
def wait_for_write (sock, timeout=None)
 

Function Documentation

◆ null_wait_for_socket()

def urllib3.util.wait.null_wait_for_socket ( args,
**  kwargs 
)

◆ poll_wait_for_socket()

def urllib3.util.wait.poll_wait_for_socket (   sock,
  read = False,
  write = False,
  timeout = None 
)

◆ select_wait_for_socket()

def urllib3.util.wait.select_wait_for_socket (   sock,
  read = False,
  write = False,
  timeout = None 
)

◆ wait_for_read()

def urllib3.util.wait.wait_for_read (   sock,
  timeout = None 
)
Waits for reading to be available on a given socket.
Returns True if the socket is readable, or False if the timeout expired.

◆ wait_for_socket()

def urllib3.util.wait.wait_for_socket ( args,
**  kwargs 
)

◆ wait_for_write()

def urllib3.util.wait.wait_for_write (   sock,
  timeout = None 
)
Waits for writing to be available on a given socket.
Returns True if the socket is readable, or False if the timeout expired.