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`.`internet`.`interfaces`.`IStreamServerEndpointStringParser``

interface documentation

`class IStreamServerEndpointStringParser(Interface): (source)`

Known implementations: `twisted.protocols.haproxy._parser.HAProxyServerParser`, `twisted.internet.endpoints._StandardIOParser`, `twisted.internet.endpoints._SystemdParser`, `twisted.internet.endpoints._TCP6ServerParser`

View In Hierarchy

An `IStreamServerEndpointStringParser` is like an `IStreamClientEndpointStringParserWithReactor`, except for `IStreamServerEndpoint`s instead of clients. It integrates with `endpoints.serverFromString` in much the same way.

Method | `parseStreamServer` | Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.
Attribute | `prefix` | A `str`, the description prefix to respond to. For example, an `IStreamServerEndpointStringParser` plugin which had `"foo"` for its `prefix` attribute would be called for endpoint descriptions like `"foo:bar:baz"`...

def parseStreamServer(reactor: `IReactorCore`, *args: `object`, **kwargs: `object`) -> `IStreamServerEndpoint`: (source)

Parse a stream server endpoint from a reactor and string-only arguments and keyword arguments.

Returns
`IStreamServerEndpoint` | a stream server endpoint
See Also
`IStreamClientEndpointStringParserWithReactor.parseStreamClient`

prefix = (source)

A `str`, the description prefix to respond to. For example, an `IStreamServerEndpointStringParser` plugin which had `"foo"` for its `prefix` attribute would be called for endpoint descriptions like `"foo:bar:baz"` or `"foo:"`.