mirror of
https://github.com/rembo10/headphones.git
synced 2026-01-14 09:17:59 -05:00
Mostly just updating libraries, removing string encoding/decoding, fixing some edge cases. No new functionality was added in this commit.
20 lines
555 B
Python
20 lines
555 B
Python
from abc import abstractmethod
|
|
from typing import Any
|
|
|
|
class Adapter():
|
|
certificate: Any
|
|
private_key: Any
|
|
certificate_chain: Any
|
|
ciphers: Any
|
|
context: Any
|
|
@abstractmethod
|
|
def __init__(self, certificate, private_key, certificate_chain: Any | None = ..., ciphers: Any | None = ...): ...
|
|
@abstractmethod
|
|
def bind(self, sock): ...
|
|
@abstractmethod
|
|
def wrap(self, sock): ...
|
|
@abstractmethod
|
|
def get_environ(self): ...
|
|
@abstractmethod
|
|
def makefile(self, sock, mode: str = ..., bufsize: int = ...): ...
|