Skip to main content

Foscia

Website Documentation

@foscia/http

HTTP adapter implementation for Foscia actions.

Usage

This package provides factories to create an HTTP client action factory.

import { makeActionFactory } from '@foscia/core';
import { makeHttpAdapter } from '@foscia/http';

export default makeActionFactory({
...makeHttpAdapter({
baseURL: '/api',
}),
});

License

@foscia/http is an open-sourced software licensed under the MIT license.