Add fastapi code

This commit is contained in:
2022-11-27 13:16:21 +01:00
parent 7cc1a424dc
commit 337ca690cf
2880 changed files with 643628 additions and 0 deletions

View File

@ -0,0 +1,33 @@
cdef class UnixServer(UVStreamServer):
cdef bind(self, str path)
@staticmethod
cdef UnixServer new(Loop loop, object protocol_factory, Server server,
object backlog,
object ssl,
object ssl_handshake_timeout,
object ssl_shutdown_timeout)
cdef class UnixTransport(UVStream):
@staticmethod
cdef UnixTransport new(Loop loop, object protocol, Server server,
object waiter, object context)
cdef connect(self, char* addr)
cdef class ReadUnixTransport(UVStream):
@staticmethod
cdef ReadUnixTransport new(Loop loop, object protocol, Server server,
object waiter)
cdef class WriteUnixTransport(UVStream):
@staticmethod
cdef WriteUnixTransport new(Loop loop, object protocol, Server server,
object waiter)