Perseus
Perseus

Reputation: 1588

Local server with custom host name

Is it possible to host a local server with a custom hostname in iOS?

I am trying to create an app that needs a requirement for a local server, I tried different libraries to host a local server like GCDWebServer and Telegraph. But none of the libraries has an option to provide a custom interface name.

Instead of http://localhost:4000/home, I would like to have http://mybookslibrary.com/home

Is it possible? Is there any library that supports to achieve this behavior?

Upvotes: 0

Views: 633

Answers (0)

Related Questions