Skip to main content

HTTP

Mops packages for HTTP

Mops is an on-chain package manager for Motoko. Here are some Mops packages for HTTP and web functionalities:

  • assets: A library for adding asset canister functionality for your canister.

  • certified-assets: Certify assets served via HTTP, ensuring the security of query calls on ICP.

  • certified-cache: A single interface that stores key-value pairs and certifies their hashes for to be used as certified variables or assets.

  • certified-http: Similar to certified-cache, an interface that stores key-value pairs and certifies their hashes for use as certified assets or variables.

  • http-loopback: Call canisters using HTTP outcalls.

  • http-parser: HTTP request parser for parsing URLs, search queries, headers and form data.

  • http-types: Canister HTTP interface types used in http_request and http_request_update.

  • ic-certification: Canister signatures and certification.

  • ic-websocket-cdk: Websockets on ICP.

  • motoko-certified-assets: ICP certified assets.

  • promtracker: Prometheus value tracking.

  • server: A server for Motoko similar to Express.

  • web-api and web-io: Create HTTP requests and handle responses.