How do I get hostname by sanic?

Viewed 154

I am using sanic to create a API server but I can't find how to get the hostname on the docs.

Is there a reference of getting the hostname in sanic?

1 Answers
Related