Documentation ¶
Overview ¶
Package http provides a client for interacting with the ARN receiver API using an azcore.Client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for interacting with the ARN receiver API.
func New ¶
func New(endpoint string, cred azcore.TokenCredential, opts *policy.ClientOptions, options ...Option) (*Client, error)
New returns a new Client for accessing the ARN receiver API.
type Option ¶
Option is a function that configures the client.
func WithFake ¶ added in v0.1.1
WithFake configures the client to use a fake sender for testing. This will be used instead of .Send(). Can only be used in tests.
func WithoutCompression ¶
func WithoutCompression() Option
WihtoutCompression turns off deflate compression for the client.
Click to show internal directories.
Click to hide internal directories.