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”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “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”:
Results provided by Lunr.js
class HTTPConnectionPool: (source)
A pool of persistent HTTP connections.
- Cached connections will eventually time out.
- Limits on maximum number of persistent connections.
Connections are stored using keys, which should be chosen such that any connections stored under a given key can be used interchangeably.
Failed requests done using previously cached connections will be retried once if they use an idempotent method (e.g. GET), in case the HTTP server timed them out.
||Close all persistent connections and remove them from the pool.|
||Supply a connection, newly created or retrieved from the pool, to be used for one HTTP request.|
||Number of seconds a cached persistent connection will stay open before disconnecting.|
||The maximum number of cached persistent connections for a host:port destination.|
||Boolean indicating whether connections should be persistent. Connections are persistent by default.|
||boolean indicating whether idempotent requests should be retried once if no response was received.|
||Create a new connection.|
||Return a persistent connection to the pool. This will be called by
||Remove a connection from the cache and disconnect it.|
||Map (scheme, host, port) to lists of
||The factory used to connect to the proxy.|
Close all persistent connections and remove them from the pool.
Supply a connection, newly created or retrieved from the pool, to be used for one HTTP request.
The connection will remain out of the pool (not available to be returned from future calls to this method) until one HTTP request has been completed over it.
Afterwards, if the connection is still open, it will automatically be added to the pool.
|key||A unique key identifying connections that can be used interchangeably.|
|endpoint||An endpoint that can be used to open a new connection if no cached connection is available.|
|A Deferred that will fire with a |
Number of seconds a cached persistent connection will stay open before disconnecting.
The maximum number of cached persistent connections for a host:port destination.
Boolean indicating whether connections should be persistent. Connections are persistent by default.
boolean indicating whether idempotent requests should be retried once if no response was received.
Create a new connection.
This implements the new connection code path for
Return a persistent connection to the pool. This will be called by
HTTP11ClientProtocol when the connection becomes quiescent.
Remove a connection from the cache and disconnect it.
Map (scheme, host, port) to lists of
HTTP11ClientProtocol instances to a IDelayedCall instance of their timeout.