Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/uvicorn
/ getsockname
Method
getsockname
tests/protocols/test_utils.py:26–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
24
return
self.peername
25
26
def
getsockname(self):
27
return
self.sockname
28
29
30
class
MockTransport(Transport):
Callers
9
bind_socket
Method · 0.80
_log_started_message
Method · 0.80
get_local_addr
Function · 0.80
test_bind_unix_socket_works_with_reload_or_workers
Function · 0.80
test_bind_fd_works_with_reload_or_workers
Function · 0.80
test_bind_stdin_works_with_reload_or_workers
Function · 0.80
_unused_port
Function · 0.80
test_running_log_using_fd
Function · 0.80
test_server_start_with_port_zero
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected