How to write a simple webserver in Erlang?

前端 未结 6 751
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 12:20

Using the default Erlang installation what is the minimum code needed to produce a \"Hello world\" producing web server?

6条回答
  •  悲&欢浪女
    2020-12-07 12:57

    For a web server using only the built in libraries check out inets http_server. When in need of some more power but still with simplicity you should check out the mochiweb library. You can google for loads of example code.

提交回复
热议问题