summaryrefslogtreecommitdiff
path: root/docs/api.rst
blob: 586d639eb3037ebcbf506f99746b8e26c92fd4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.. _waitress_api:

:mod:`waitress` API
---------------------------

.. module:: waitress

.. function:: serve(app, host='0.0.0.0', port=8080, unix_socket=None, unix_socket_perms='600', threads=4, url_scheme='http', ident='waitress', backlog=1204, recv_bytes=8192, send_bytes=18000, outbuf_overflow=104856, inbuf_overflow=52488, connection_limit=1000, cleanup_interval=30, channel_timeout=120, log_socket_errors=True, max_request_header_size=262144, max_request_body_size=1073741824, expose_tracebacks=False)

     See :ref:`arguments` for more information.