forked from jshiffer/go-xmpp
Allow transports to define their own ping mechanism
This commit is contained in:
committed by
Mickaël Rémond
parent
d0f2b492ac
commit
36e153f981
@@ -25,6 +25,7 @@ type Transport interface {
|
||||
|
||||
IsSecure() bool
|
||||
|
||||
Ping() error
|
||||
Read(p []byte) (n int, err error)
|
||||
Write(p []byte) (n int, err error)
|
||||
Close() error
|
||||
|
||||
Reference in New Issue
Block a user