Skip to content

Commit

Permalink
Add missing documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 12, 2025
1 parent ea07709 commit 40bcf20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/falcon/environment/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ def url
"http://[::]:9292"
end

# The timeout used for client connections.
def timeout
nil
end

# Options to use when creating the endpoint.
def endpoint_options
{
reuse_address: true,
timeout: timeout,
timeout: self.timeout,
}
end

Expand All @@ -62,10 +64,12 @@ def endpoint
::Async::HTTP::Endpoint.parse(url).with(**endpoint_options)
end

# Whether to enable verbose logging.
def verbose
false
end

# Whether to enable the HTTP cache for this server.
def cache
false
end
Expand Down

0 comments on commit 40bcf20

Please sign in to comment.