From 621e25f447cd8493a7cc4d88dcc020fca0047523 Mon Sep 17 00:00:00 2001 From: Sam O'Connor Date: Sat, 20 Jan 2018 09:03:33 +1100 Subject: [PATCH] document optional positional argument names and defaults for `listen` --- src/Servers.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers.jl b/src/Servers.jl index 23faee2cc..ea98c4620 100644 --- a/src/Servers.jl +++ b/src/Servers.jl @@ -233,7 +233,7 @@ const nolimit = typemax(Int) """ - HTTP.listen("localhost", 8081; ) do http + HTTP.listen([host="localhost" [, port=8081]]; ) do http ... end