@serenity-dev/http-client

3.0.0 • Public • Published

Serenity Http Client

EXPERIMENTAL: NOT READY FOR PRODUCTION USE !

About

Serenity Http Client aim to provide a target based http client that manage common use cases out of the box and provide powerful tooling for complex use cases.

Table of contents

Installation

npm install @serenity-dev/http-client

Usage

Gateway example

Target definition

Http to Domain error mapping

Adapter / Target configuration

Custom Request Interceptor

Custom Error Interceptor

Schema Validation / Typeguard

Retryable errors

Contribution

To setup the project locally see the contributing guide

Built With

Langages & Frameworks

  • TypeScript Strongly typed programming language that builds on JavaScript

Tools

CLI

CI/CD

License

See the LICENSE.md file.

/@serenity-dev/http-client/

    Package Sidebar

    Install

    npm i @serenity-dev/http-client

    Weekly Downloads

    0

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    72.5 kB

    Total Files

    80

    Last publish

    Collaborators

    • romain-cambonie