mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-21 17:13:44 -08:00
Changed "Disconnect" to wait for the closing stream tag. (#141)
Updated example with a README.md and fixed some logs.
This commit is contained in:
committed by
Jérôme Sautret
parent
e62b7fa0c7
commit
94aceac802
@@ -29,7 +29,7 @@ type StreamClient interface {
|
||||
Send(packet stanza.Packet) error
|
||||
SendIQ(ctx context.Context, iq stanza.IQ) (chan stanza.IQ, error)
|
||||
SendRaw(packet string) error
|
||||
Disconnect()
|
||||
Disconnect() error
|
||||
SetHandler(handler EventHandler)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user