add_reader(self, fd, callback, *args) |
|
add_signal_handler(self, sig, callback, *args) |
|
add_writer(self, fd, callback, *args) |
|
call_at(self, when, callback, *args, context=None) |
|
call_exception_handler(self, context) |
|
call_later(self, delay, callback, *args, context=None) |
|
call_soon(self, callback, *args, context=None) |
|
call_soon_threadsafe(self, callback, *args, context=None) |
|
close(self) |
Close the loop. [extrait de close.__doc__] |
connect_accepted_socket(self, protocol_factory, sock, *, ssl=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None) |
Handle an accepted connection. [extrait de connect_accepted_socket.__doc__] |
connect_read_pipe(self, protocol_factory, pipe) |
Register read pipe in event loop. Set the pipe to non-blocking mode. [extrait de connect_read_pipe.__doc__] |
connect_write_pipe(self, protocol_factory, pipe) |
Register write pipe in event loop. [extrait de connect_write_pipe.__doc__] |
create_connection(self, protocol_factory, host=None, port=None, *, ssl=None, family=0, proto=0, flags=0, sock=None, local_addr=None, server_hostname=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None, happy_eyeballs_delay=None, interleave=None) |
|
create_datagram_endpoint(self, protocol_factory, local_addr=None, remote_addr=None, *, family=0, proto=0, flags=0, reuse_address=None, reuse_port=None, allow_broadcast=None, sock=None) |
A coroutine which creates a datagram endpoint. [extrait de create_datagram_endpoint.__doc__] |
create_future(self) |
|
create_server(self, protocol_factory, host=None, port=None, *, family=<AddressFamily.AF_UNSPEC: 0>, flags=<AddressInfo.AI_PASSIVE: 1>, sock=None, backlog=100, ssl=None, reuse_address=None, reuse_port=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None, start_serving=True) |
A coroutine which creates a TCP server bound to host and port. [extrait de create_server.__doc__] |
create_task(self, coro, *, name=None, context=None) |
|
create_unix_connection(self, protocol_factory, path=None, *, ssl=None, sock=None, server_hostname=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None) |
|
create_unix_server(self, protocol_factory, path=None, *, sock=None, backlog=100, ssl=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None, start_serving=True) |
A coroutine which creates a UNIX Domain Socket server. [extrait de create_unix_server.__doc__] |
default_exception_handler(self, context) |
|
get_debug(self) |
|
get_exception_handler(self) |
|
get_task_factory(self) |
|
getaddrinfo(self, host, port, *, family=0, type=0, proto=0, flags=0) |
|
getnameinfo(self, sockaddr, flags=0) |
|
is_closed(self) |
Returns True if the event loop was closed. [extrait de is_closed.__doc__] |
is_running(self) |
Return whether the event loop is currently running. [extrait de is_running.__doc__] |
remove_reader(self, fd) |
|
remove_signal_handler(self, sig) |
|
remove_writer(self, fd) |
|
run_forever(self) |
Run the event loop until stop() is called. [extrait de run_forever.__doc__] |
run_in_executor(self, executor, func, *args) |
|
run_until_complete(self, future) |
Run the event loop until a Future is done. [extrait de run_until_complete.__doc__] |
sendfile(self, transport, file, offset=0, count=None, *, fallback=True) |
Send a file through a transport. [extrait de sendfile.__doc__] |
set_debug(self, enabled) |
|
set_default_executor(self, executor) |
|
set_exception_handler(self, handler) |
|
set_task_factory(self, factory) |
|
shutdown_asyncgens(self) |
Shutdown all active asynchronous generators. [extrait de shutdown_asyncgens.__doc__] |
shutdown_default_executor(self) |
Schedule the shutdown of the default executor. [extrait de shutdown_default_executor.__doc__] |
sock_accept(self, sock) |
|
sock_connect(self, sock, address) |
|
sock_recv(self, sock, nbytes) |
|
sock_recv_into(self, sock, buf) |
|
sock_recvfrom(self, sock, bufsize) |
|
sock_recvfrom_into(self, sock, buf, nbytes=0) |
|
sock_sendall(self, sock, data) |
|
sock_sendfile(self, sock, file, offset=0, count=None, *, fallback=None) |
|
sock_sendto(self, sock, data, address) |
|
start_tls(self, transport, protocol, sslcontext, *, server_side=False, server_hostname=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None) |
Upgrade a transport to TLS. [extrait de start_tls.__doc__] |
stop(self) |
Stop the event loop as soon as reasonable. [extrait de stop.__doc__] |
subprocess_exec(self, protocol_factory, *args, stdin=-1, stdout=-1, stderr=-1, **kwargs) |
|
subprocess_shell(self, protocol_factory, cmd, *, stdin=-1, stdout=-1, stderr=-1, **kwargs) |
|
time(self) |
|
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :