Extends
Client
This class extends
Client from @wolfstar/http-framework. Its inherited surface (properties like options, logger, server, plugins, the
registry accessor, and EventEmitter-style methods like on/once/emit/use) isn’t reproduced here — see the http-framework API
reference for that class’s full documentation. Only the members this class adds or overrides are listed below.Constructors
Constructor
new TestableClient(Defined in: packages/http-framework-test-utils/src/TestableClient.ts:11options?):TestableClient
Parameters
options?
Partial<ClientOptions> = {}
Returns
TestableClient
Overrides
Client.constructor
Methods
handleHttpMessage()
handleHttpMessage(Defined in: packages/http-framework-test-utils/src/TestableClient.ts:15interaction,response):Promise<ServerResponse<IncomingMessage>>
Parameters
interaction
APIApplicationCommandAutocompleteInteraction | APIChatInputApplicationCommandInteraction | APIModalSubmitInteraction | APIContextMenuInteraction | APIMessageComponentInteraction | APIPingInteraction
response
ServerResponse
Returns
Promise<ServerResponse<IncomingMessage>>
Overrides
Client.handleHttpMessage