|
__init__(self,
raise_event,
on_disconnect,
idlequeue,
estabilish_tls,
certs,
on_http_request_possible,
on_persistent_fallback,
http_dict,
proxy_dict=None)
Each trasport class can have different constructor but it has to have at
least all the arguments of NonBlockingTransport constructor |
source code
|
|
|
|
|
_on_receive(self,
data)
Preceeds passing received data to owner class. Gets rid of HTTP headers
and checks them. |
source code
|
|
|
build_http_message(self,
httpbody,
method=' POST ' )
Builds http message with given body. Values for headers and status line
fields are taken from class variables |
source code
|
|
|
|
Inherited from NonBlockingTCP :
connect ,
disconnect ,
encode_stanza ,
pollend ,
pollin ,
pollout ,
read_timeout ,
remove_timeout ,
send ,
set_timeout ,
start_disconnect ,
tls_init
Inherited from NonBlockingTransport :
get_fd ,
get_state ,
onreceive ,
plugin ,
plugout ,
read_timeout2 ,
renew_send_timeout ,
renew_send_timeout2 ,
set_send_timeout ,
set_send_timeout2 ,
set_state ,
set_timeout2
Inherited from plugin.PlugIn :
PlugIn ,
PlugOut
|