Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BOSHSender ¶
type BOSHSender struct {
// contains filtered or unexported fields
}
func NewBOSHSender ¶
func NewBOSHSender(log *log.Logger) BOSHSender
func (*BOSHSender) Send ¶
func (s *BOSHSender) Send(boshURL string, xmlBody string) (string, error)
Send sends an XMPP BOSH XML minified body to a BOSH endpoint boshURL: e.g. "https://10.99.0.210/http-bind?room=asdf" xmlBody: your <body>...</body> string Returns: response XML as string or error
Click to show internal directories.
Click to hide internal directories.