Skip to content

Commit

Permalink
document optional positional argument names and defaults for listen
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Jan 19, 2018
1 parent 1a3c756 commit 621e25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ const nolimit = typemax(Int)


"""
HTTP.listen("localhost", 8081; <keyword arguments>) do http
HTTP.listen([host="localhost" [, port=8081]]; <keyword arguments>) do http
...
end
Expand Down

0 comments on commit 621e25f

Please sign in to comment.