RequestSendActionsType
Import
import { RequestSendActionsType } from "@hyper-fetch/core"
Source
Package
Preview
type RequestSendActionsType<Request> = {
onBeforeSent?: (eventData: RequestEventType<Request>) => void;
onDownloadProgress?: (eventData: RequestProgressEventType<Request>) => void;
onRemove?: (eventData: RequestEventType<Request>) => void;
onRequestStart?: (eventData: RequestEventType<Request>) => void;
onResponse?: (eventData: RequestResponseEventType<Request>) => void;
onResponseStart?: (eventData: RequestEventType<Request>) => void;
onUploadProgress?: (eventData: RequestProgressEventType<Request>) => void;
}
Structure
RequestSendActionsType
| Name | Type | Description |
|---|---|---|
| onBeforeSent | | |
| onDownloadProgress | | |
| onRemove | | |
| onRequestStart | | |
| onResponse | | |
| onResponseStart | | |
| onUploadProgress | |