Skip to content

Commit

Permalink
Document Dream.run ?socket_path
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Nov 12, 2023
1 parent cb60070 commit 78cf84a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dream.mli
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,8 @@ val run :
- [~interface] is the network interface to listen on. Defaults to
["localhost"]. Use ["0.0.0.0"] to listen on all interfaces.
- [~port] is the port to listen on. Defaults to [8080].
- If [~socket_path] is specified, Dream will listen on a Unix domain socket
at the given path, and ignore [~interface] and [~port].
- [~stop] is a promise that causes the server to stop accepting new
requests, and {!Dream.run} to return. Requests that have already entered
the Web application continue to be processed. The default value is a
Expand Down

0 comments on commit 78cf84a

Please sign in to comment.