Skip to content

Abstract request agent #27

@eduardoboucas

Description

@eduardoboucas

Currently, API wrapper uses request-promise to handle HTTP requests to API.

By allowing users to specify their own request agent, we would be making this library a lot more flexible. We could, for example, make it work on a React Native application by specifying fetch as the request agent.

💭

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions