WIP: initial prototype

- Standardized event emitters
- Refactored transport.request to have a better handling of the state
- Added sniff event
- Improved abort handling
This commit is contained in:
delvedor
2018-12-03 18:06:09 +01:00
parent ab1d7ba992
commit fd738f8425
6 changed files with 112 additions and 67 deletions

1
index.d.ts vendored
View File

@ -468,6 +468,7 @@ declare const events: {
RESPONSE: string;
REQUEST: string;
ERROR: string;
SNIFF: string;
};
export { Client, Transport, ConnectionPool, Connection, Serializer, events, ApiResponse };