# Functions
No description provided by the author
CallHttpInterceptors chains multiple HTTP interceptors together to create a composite HttpCallExecutor.
CreateCallBuilderFactory creates a new CallBuilderFactory function which creates a new CallBuilder using the provided inputs.
GetFile retrieves a file from the given filePath and returns it as a FileWrapper.
GetFileWithContentType retrieves a file from the given filePath using GetFile and returns it as a FileWrapper.
GetTestingServer creates and returns an httptest.Server instance for testing purposes.
MergeHeaders merges the headers from the `headersToMerge` map into the `headers` map.
No description provided by the author
NewApiResponse creates a new instance of ApiResponse.
No description provided by the author
NewHttpClient creates a new HttpClient with the provided HttpConfiguration and returns it.
NewHttpConfiguration creates a new HttpConfiguration with the provided options and returns it.
No description provided by the author
NewRetryConfiguration creates a new RetryConfiguration instance with the provided options.
PassThroughInterceptor is an HTTP interceptor that passes the request to the next HttpCallExecutor in the chain.
SetHeaders sets the header name and value in the provided headers map.
Unescape unescapes a json pointer reference token string to the original representation.
WithBackoffFactor sets the backoff factor for exponential backoff.
WithHttpMethodsToRetry sets the list of HTTP methods to retry on.
WithHttpStatusCodesToRetry sets the list of HTTP status codes to retry on.
WithMaximumRetryWaitTime sets the maximum wait time before giving up retrying.
WithMaxRetryAttempts sets the maximum number of retry attempts allowed.
WithRetryConfiguration sets the retry configuration for the HTTP client.
WithRetryInterval sets the interval between retries.
WithRetryOnTimeout sets whether to retry on timeouts.
WithTimeout sets the timeout for the HTTP client.
WithTransport sets the custom HTTP transport for the HTTP client.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Constants for commonly used HTTP headers and content types.
Constants for different request retry options.
Constants for different request retry options.
Constants for different request retry options.
Constants for different request retry options.
No description provided by the author
Constants for different request retry options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Constants for different request retry options.
Constants for different request retry options.
No description provided by the author
No description provided by the author
Constants for different request retry options.
Constants for different request retry options.
No description provided by the author
# Variables
No description provided by the author
# Structs
ApiError is the base struct for all error responses from the server.
ApiResponse is a generic struct that represents an API response containing data and the HTTP response.
No description provided by the author
No description provided by the author
FileWrapper is a struct that represents a file along with its metadata such as the file content, file name, and file headers.
FormParam is a struct that represents a key-value pair for form parameters.
HttpClient is an implementation of the HttpClientInterface.
HttpConfiguration holds the configuration options for the HTTP client.
HttpContext represents the HTTP request and response.
RetryConfiguration contains the settings for request retry behavior.
# Interfaces
No description provided by the author
CallBuilder is an interface that defines methods for building and executing HTTP requests for API calls.
HttpClientInterface defines an interface for an HTTP client that can execute HTTP requests and return HTTP responses.
# Type aliases
ArraySerializationOption represents the type for request array serialization options.
CallBuilderFactory is a function type used to create CallBuilder instances for making API calls.
FormParams represents a collection of FormParam objects.
HttpCallExecutor is a function type that represents the execution of an HTTP call and returns the HTTP context.
HttpConfigurationOptions is a function type that takes a pointer to HttpConfiguration as input and modifies it.
HttpInterceptor is a function type that represents an HTTP interceptor, which intercepts and processes an HTTP call.
RequestRetryOption represents the type for request retry options.
RetryConfigurationOptions represents a function that modifies RetryConfiguration settings.