40
40
return (curl, fetch(self._url, post=True, data=payload,
41
41
headers=headers, cainfo=self._pubkey, curl=curl))
43
def exchange(self, payload, computer_id=None, message_api=API):
43
def exchange(self, payload, computer_id=None, message_api=SERVER_API):
44
44
"""Exchange message data with the server.
46
46
@param payload: The object to send, it must be L{bpickle}-compatible.