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,19 @@
cdef class Server:
cdef:
list _servers
list _waiters
int _active_count
Loop _loop
bint _serving
object _serving_forever_fut
object __weakref__
cdef _add_server(self, UVStreamServer srv)
cdef _start_serving(self)
cdef _wakeup(self)
cdef _attach(self)
cdef _detach(self)
cdef _ref(self)
cdef _unref(self)