websockets.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:maas 作者: maas 项目源码 文件源码
def getChildWithDefault(self, name, request):
        """
        Reject attempts to retrieve a child resource.  All path segments beyond
        the one which refers to this resource are handled by the WebSocket
        connection.

        @type name: C{bytes}
        @param name: A single path component from a requested URL.

        @type request: L{twisted.web.iweb.IRequest} provider
        @param request: The request received.
        """
        raise RuntimeError(
            "Cannot get IResource children from WebSocketsResource")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号