Skip to content

Commit 55b8bab

Browse files
committed
Show how to use custom protocol.
1 parent f077829 commit 55b8bab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/hello/falcon.rb

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
scheme "http"
1616
protocol {Async::HTTP::Protocol::HTTP}
1717

18+
# protocol {Async::HTTP::Protocol::HTTP1.new(
19+
# persistent: false,
20+
# maximum_line_size: 1024,
21+
# )}
22+
1823
# endpoint do
1924
# Async::HTTP::Endpoint.for(scheme, "localhost", port: 9292, protocol: protocol)
2025
# end

0 commit comments

Comments
 (0)