siptest

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientTxRequester added in v0.26.0

type ClientTxRequester struct {
	OnRequest func(req *sip.Request) *sip.Response
}

func (*ClientTxRequester) Request added in v0.26.0

type ClientTxRequesterResponder added in v0.31.0

type ClientTxRequesterResponder struct {
	OnRequest func(req *sip.Request, w *ClientTxResponder)
}

func (*ClientTxRequesterResponder) Request added in v0.31.0

type ClientTxResponder added in v0.31.0

type ClientTxResponder struct {
	// contains filtered or unexported fields
}

func (*ClientTxResponder) Receive added in v0.31.0

func (r *ClientTxResponder) Receive(res *sip.Response)

type ServerTxRecorder

type ServerTxRecorder struct {
	*sip.ServerTx
	// contains filtered or unexported fields
}

ServerTxRecorder wraps server transactions

func NewServerTxRecorder

func NewServerTxRecorder(req *sip.Request) *ServerTxRecorder

func (*ServerTxRecorder) Result

func (r *ServerTxRecorder) Result() []*sip.Response

Result returns sip response. Can be nil if none was processed

Jump to

Keyboard shortcuts

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