twisted.web.client._requireSSL(decoratee)
function documentationtwisted.web.client
View Source
The decorated method requires pyOpenSSL to be present, or it raises NotImplementedError
.
Parameters | decoratee | A function which requires pyOpenSSL. (type: callable ) |
Returns | A function which raises NotImplementedError if pyOpenSSL is not installed; otherwise, if it is installed, simply return decoratee . (type: callable ) |
Function | raiseNotImplemented | pyOpenSSL is not available. |
pyOpenSSL is not available.
Parameters | a | The positional arguments for decoratee . |
kw | The keyword arguments for decoratee . | |
Raises | NotImplementedError | Always. |