The definition of a request rule step, which can be passed to Mockttp to define a rule.

Implementation of the step is not included in the definition classes, but instead exists in an *Impl class defined separately and used internally.

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

result: {
    error?: undefined;
    result: any;
} | {
    error: any;
    result?: undefined;
}
type: "json-rpc-response" = 'json-rpc-response'
isFinal = true

Methods