Skip to main content

Module client

Module client 

Source
Expand description

HTTP client for Slack API calls

This module provides a configurable HTTP client with:

  • Configurable base URL (for testing with mock servers)
  • Retry logic with exponential backoff
  • Rate limit handling (429 + Retry-After)
  • Support for both wrapper commands and generic API calls

Structs§

ApiClient
Slack API client
ApiClientConfig
Configuration for the API client

Enums§

ApiClientError
API client errors (for generic API calls)
ApiError
API client errors (for wrapper commands)
RequestBody
Request body type

Type Aliases§

Result