Help us shape the future of Go! Take the 2026 Go Developer Survey

httpxml

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinifyXML

func MinifyXML(input string) (string, error)

MinifyXML uses tdewolff/minify to minify XML, fixing a bug where Jicofo throws an exception during IQ/Jingle process

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL