Skip to content

Commit

Permalink
Fix documentation for max_http_buffer_size (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrenceong committed Feb 23, 2023
1 parent 5e01de4 commit 8182f78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/engineio/asyncio_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ class AsyncServer(server.Server):
:param ping_timeout: The time in seconds that the client waits for the
server to respond before disconnecting. The default
is 20 seconds.
:param max_http_buffer_size: The maximum size of a message when using the
polling transport. The default is 1,000,000
bytes.
:param max_http_buffer_size: The maximum size of a message. The default
is 1,000,000 bytes.
:param allow_upgrades: Whether to allow transport upgrades or not.
:param http_compression: Whether to compress packages when using the
polling transport.
Expand Down
5 changes: 2 additions & 3 deletions src/engineio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ class Server(object):
:param ping_timeout: The time in seconds that the client waits for the
server to respond before disconnecting. The default
is 20 seconds.
:param max_http_buffer_size: The maximum size of a message when using the
polling transport. The default is 1,000,000
bytes.
:param max_http_buffer_size: The maximum size of a message. The default
is 1,000,000 bytes.
:param allow_upgrades: Whether to allow transport upgrades or not. The
default is ``True``.
:param http_compression: Whether to compress packages when using the
Expand Down

0 comments on commit 8182f78

Please sign in to comment.