Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`web`.`_http2``

module documentation
(source)

HTTP2 Implementation

This is the basic server-side protocol implementation used by the Twisted Web server for HTTP2. This functionality is intended to be combined with the HTTP/1.1 and HTTP/1.0 functionality in twisted.web.http to provide complete protocol support for HTTP-type protocols.

This API is currently considered private because it's in early draft form. When it has stabilised, it'll be made public.

Class | `H2Connection` | A class representing a single HTTP/2 connection.
Class | `H2Stream` | A class representing a single HTTP/2 stream.
Function | `_addHeaderToRequest` | Add a header tuple to a request header object.
Constant | `_END_STREAM_SENTINEL` | Undocumented

def _addHeaderToRequest(request, header): (source)

Add a header tuple to a request header object.

Parameters
request:`twisted.web.http.Request` | The request to add the header tuple to.
header:A `tuple` with two elements, the header name and header value, both as `bytes`. | The header tuple to add to the request.
Returns
`bool` | If the header being added was the `Content-Length` header.

_END_STREAM_SENTINEL = (source)

Undocumented

Value

    object()