🥮 mooncakes.io
    ModulesSkillsCLIBuild queue
    • README
    • U
      AttributeKey
    • U
      Attributes
    • U
      Backend
    • U
      Body
    • U
      BodyStream
    • U
      Client
    • U
      CookieJar
    • U
      Handler
    • U
      Headers
    • U
      Method
    • U
      RedirectConfig
    • U
      Reply
    • U
      Request
    • U
      RequestPlan
    • U
      Response
    • U
      ResponseFailure
    • U
      ResponsePlan
    • U
      RetryBudget
    • U
      RetryPolicy
    • U
      SendOptions
    • U
      StreamBody
    • U
      TransportError
    • U
      Trust
    • U
      Url
    • U
      UrlError
    • V
      as_bytes
    • V
      as_json
    • V
      as_json_value
    • V
      as_lines
    • V
      as_sse
    • V
      as_string
    • V
      backend
    • V
      background
    • V
      client
    • V
      clock
    • V
      close_on_shutdown
    • V
      coordination
    • V
      get
    • V
      post
    • V
      read_bounded
    • V
      remote_addr
    • V
      replay_safe
    • V
      request
    • V
      run
    • V
      timer
    gaato
    /
    mttp
    /
    h1server
    Find API in this module/
    Collapse all documentation

    Install

    Download zip

    HTTP for MoonBit apps that outgrow the built-in client: the module an app starts with, holding a ready client (retries with a budget, deadlines, redirects, cookies, decompression) and a server, on moonbitlang/core/async for native, wasm and js. Typed endpoints and OpenAPI come from gaato/mttp_core, which libraries depend on instead.

    httpclientserverretrysseasync
    gaato
    Apache-2.0
    github.com/gaato/mttp
    Updated 4 hours ago
    190 downloads
    • gaato/mttp_core0.1.0
    • gaato/codec_bytes0.1.1
    • gaato/deflate0.1.0
    • gaato/brotli0.4.1
    • gaato/zstd0.3.1

    Published modules that use this version

    • yuzhiblue/moon-qdrant
      • 0.7.0
    • gaato/discord_voice
      • 0.6.0
    • gaato/discord
      • 0.17.0
    • gaato/kbbi
      • 0.4.0

    MoonBit

    • moonbitlang.com
    • GitHub
    • X

    Resources

    • Docs
    • Blog
    • Site source

    Policy

    • Module takedown

    Contact us

    • support@moonbitlang.com
    • Report issue

    Powered by MoonBit

    © 2026 mooncakes.io