예제 #1
0
def protocols(client, protocols):
    """ Enumerate protocol capabilities so they can be registered. """
    for protocol in csv(protocols):
        client.cmd('CAPABILITY', protocol)
예제 #2
0
def protocols(client, protocols):
    """ Enumerate protocol capabilities so they can be registered. """
    for protocol in csv(protocols):
        client.cmd('CAPABILITY', protocol)
예제 #3
0
def capability(client, CAPABILITY, capabilities):
    """ Register a server's default protocol capabilities. """
    client.protocols[CAPABILITY] = csv(capabilities)
예제 #4
0
def capability(client, CAPABILITY, capabilities):
    """ Register a server's default protocol capabilities. """
    client.protocols[CAPABILITY] = csv(capabilities)