⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.12
/
asyncio
/
__pycache__
/
View File Name :
streams.cpython-312.pyc
CRhk l d Z ddlZddlZddlZddlZddlZ eed re dz Z ddlmZ ddlm Z ddlm Z dd lmZ dd lmZ ddl mZ ddlmZ d ZdeddZdeddZ eed rdeddZdeddZ G d dej, Z G d deej, Z G d d Z G d d Zy))StreamReaderStreamWriterStreamReaderProtocolopen_connectionstart_server NAF_UNIX)open_unix_connectionstart_unix_server ) coroutines)events) exceptions)format_helpers) protocols)logger)sleepi )limitc K t j }t || }t || |j fd| |fi | d{ \ }}t | || }||fS 7 w)a A wrapper for create_connection() returning a (reader, writer) pair. The reader returned is a StreamReader instance; the writer is a StreamWriter instance. The arguments are all the usual arguments to create_connection() except protocol_factory; most common are positional host and port, with various optional keyword arguments following. Additional optional keyword arguments are loop (to set the event loop instance to use) and limit (to set the buffer limit passed to the StreamReader). (If you want to customize the StreamReader and/or StreamReaderProtocol classes, just copy the code -- there's really nothing special here except some convenience.) r loopr c S N protocols &/usr/lib/python3.12/asyncio/streams.py
z!open_connection.
.
1 s N)r get_running_loopr r create_connectionr ) hostportr kwdsr reader transport_writerr s @r r r sx &