xmpp.go
changeset 32 4e68d8f89dc3
parent 30 a77fc342e013
child 33 571713f49494
equal deleted inserted replaced
31:1dc47df5c99f 32:4e68d8f89dc3
    66 	In <-chan Stanza
    66 	In <-chan Stanza
    67 	// Outgoing XMPP stanzas to the server should be sent to this
    67 	// Outgoing XMPP stanzas to the server should be sent to this
    68 	// channel.
    68 	// channel.
    69 	Out chan<- Stanza
    69 	Out chan<- Stanza
    70 	xmlOut chan<- interface{}
    70 	xmlOut chan<- interface{}
       
    71 	// Features advertised by the remote. This will be updated
       
    72 	// asynchronously as new features are received throughout the
       
    73 	// connection process. It should not be updated once
       
    74 	// StartSession() returns.
       
    75 	Features *Features
    71 }
    76 }
    72 var _ io.Closer = &Client{}
    77 var _ io.Closer = &Client{}
    73 
    78 
    74 // Connect to the appropriate server and authenticate as the given JID
    79 // Connect to the appropriate server and authenticate as the given JID
    75 // with the given password. This function will return as soon as a TCP
    80 // with the given password. This function will return as soon as a TCP