Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



The HttpTransport Class

The HttpTransport class provides a transport for communicating with HTTP servers.

HttpTransport is provided by the protorpc.transport module.

Constructor

class HttpTransport ( service_url , protocol = protobuf )

Instantiates an HttpTransport object.

Arguments

service_url
The URL where the service is located. All communication via the transport will go to methods under this URL.
protocol
The protocol implementation. Must implement encode_message() and decode_message() , which are available in outside other protocols, such as protorpc.protojson , protorpc.protobuf , and protorpc.protojson .

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.