The HttpTransport Class

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

HttpTransport is provided by the protorpc.transport module.


class HttpTransport (service_url, protocol=protobuf)

Instantiates an HttpTransport object.

The URL where the service is located. All communication via the transport will go to methods under this URL.
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.
Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

App Engine standard environment for Python 2