messagepickup

package
v0.0.0-...-57c6170 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	service.Event
	// contains filtered or unexported fields
}

Client enable access to message pickup api.

func New

func New(ctx provider) (*Client, error)

New return new instance of messagepickup client.

func (*Client) BatchPickup

func (r *Client) BatchPickup(connectionID string, size int) (int, error)

BatchPickup request to have multiple waiting messages sent inside a batch message to the DID.

func (*Client) Noop

func (r *Client) Noop(connectionID string) error

Noop a message to reestablish a connection when there is no other reason to message the mediator.

func (*Client) StatusRequest

func (r *Client) StatusRequest(connectionID string) (*messagepickup.Status, error)

StatusRequest request a status message.

Jump to

Keyboard shortcuts

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