PyOBEX.requests.Get - python examples

Here are the examples of the python api PyOBEX.requests.Get taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Complete Implementation : fileserver.py
Copyright MIT License
Author : BlackLight
    def process_request(self, socket, request, *address):
        if isinstance(request, requests.Get):
            self.bus.post(BluetoothFileGetRequestEvent(address=address[0], port=address[1]))
            self.get(socket, request)
        else:
            super().process_request(socket, request, *address)