コード例 #1
0
ファイル: http.py プロジェクト: Bluehorn/spyne
    def __init__(self, transport, req_env, content_type):
        MethodContext.__init__(self, transport)

        self.transport = HttpTransportContext(transport, req_env, content_type)
        """Holds the WSGI-specific information"""
コード例 #2
0
ファイル: websocket.py プロジェクト: ashleysommer/spyne
    def __init__(self, transport, client_handle):
        MethodContext.__init__(self, transport, MethodContext.SERVER)

        self.transport = WebSocketTransportContext(self, transport, 'ws',
                                                                  client_handle)
コード例 #3
0
    def __init__(self, transport, req_env, content_type):
        MethodContext.__init__(self, transport)

        self.transport = HttpTransportContext(transport, req_env, content_type)
        """Holds the WSGI-specific information"""
コード例 #4
0
    def __init__(self, transport, client_handle):
        MethodContext.__init__(self, transport, MethodContext.SERVER)

        self.transport = WebSocketTransportContext(self, transport, 'ws',
                                                   client_handle)
コード例 #5
0
ファイル: websocket.py プロジェクト: buldi/spyne
    def __init__(self, parent, transport, client_handle):
        MethodContext.__init__(self, parent, transport)

        self.transport = WebSocketTransportContext(transport, 'ws',
                                                            client_handle, self)