Skip to content

Commit 75c1b25

Browse files
authored
Document verbose=-1 kwarg for HTTP.serve (#1022)
1 parent 2e8c99d commit 75c1b25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/server.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Supported keyword arguments include:
3333
Not supported on some OS platforms. Can check `HTTP.Servers.supportsreuseaddr()`.
3434
* `server::Base.IOServer=nothing`, provide an `IOServer` object to listen on;
3535
allows manually closing or configuring the server socket.
36-
* `verbose::Bool=false`, log connection information to `stdout`.
36+
* `verbose::Union{Int,Bool}=false`, log connection information to `stdout`. Use `-1`
37+
to also silence the server start and stop logs.
3738
* `access_log::Function`, function for formatting access log messages. The
3839
function should accept two arguments, `io::IO` to which the messages should
3940
be written, and `http::HTTP.Stream` which can be used to query information

0 commit comments

Comments
 (0)