Class RequestBuilder<T, U>
Constructors
constructor
-
Parameters
-
-
Default value _override: Configuration.Override<T> = () => normalizeToFunction({})
Properties
_override
_override: function
pastRequest
pastRequest: T
Methods
composeRequest
- composeRequest(state: State, overrideRequest?: Partial<T>): any
-
Parameters
-
-
Optional overrideRequest: Partial<T>
Returns any
override
- override<S>(overrideConfig: function, reference: RequestBuilder): function
-
Type parameters
Parameters
-
overrideConfig: function
-
- (currReq: S, prevReq: S): S
-
Returns function
setPastState
-
Type parameters
Parameters
Returns function