Documentation ¶
Index ¶
- Constants
- func BytestreamQuery(s access.Session, stanza *data.ClientIQ) (ret interface{}, iqtype string, ignore bool)
- func IbbClose(s access.Session, stanza *data.ClientIQ) (ret interface{}, iqtype string, ignore bool)
- func IbbData(s access.Session, stanza *data.ClientIQ) (interface{}, string, bool)
- func IbbMessageData(s access.Session, stanza *data.ClientMessage, ext *data.Extension)
- func IbbOpen(s access.Session, stanza *data.ClientIQ) (ret interface{}, iqtype string, ignore bool)
- func InitIQ(s access.Session, stanza *data.ClientIQ, si data.SI) (ret interface{}, iqtype string, ignore bool)
- func InitSend(s access.Session, peer jid.Any, file string, onNoEnc func() bool, ...) *sdata.FileTransferControl
- func InitSendDir(s access.Session, peer jid.Any, dir string, onNoEnc func() bool, ...) *sdata.FileTransferControl
Constants ¶
View Source
const BytestreamMethod = "http://jabber.org/protocol/bytestreams"
BytestreamMethod contains the profile name for bytestreams
View Source
const IBBMethod = "http://jabber.org/protocol/ibb"
IBBMethod contains the profile name for IBB
Variables ¶
This section is empty.
Functions ¶
func BytestreamQuery ¶
func BytestreamQuery(s access.Session, stanza *data.ClientIQ) (ret interface{}, iqtype string, ignore bool)
BytestreamQuery is the hook function that will be called when we receive a bytestream query IQ
func IbbClose ¶
func IbbClose(s access.Session, stanza *data.ClientIQ) (ret interface{}, iqtype string, ignore bool)
IbbClose is the hook function that will be called when we receive an ibb close IQ
func IbbMessageData ¶
IbbMessageData is the hook function that will be called when we receive a message containing an ibb data
func InitIQ ¶
func InitIQ(s access.Session, stanza *data.ClientIQ, si data.SI) (ret interface{}, iqtype string, ignore bool)
InitIQ is the hook function that will be called when we receive a file or directory transfer stream initiation IQ
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.