summaryrefslogtreecommitdiff
path: root/_www/interface.ts
diff options
context:
space:
mode:
Diffstat (limited to '_www/interface.ts')
-rw-r--r--_www/interface.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/_www/interface.ts b/_www/interface.ts
index d36d103..5262429 100644
--- a/_www/interface.ts
+++ b/_www/interface.ts
@@ -15,6 +15,7 @@ export interface AttackOptionsInterface {
export interface EnvironmentInterface {
ListenAddress: string
+ WebSocketListenAddress: string
MaxAttackDuration: number
MaxAttackRate: number
ResultsDir: string
@@ -99,7 +100,7 @@ export interface TrunksInterface {
AttackHttp(
target: TargetInterface,
http_target: HttpTargetInterface,
- ): Promise<HttpResponseInterface>
+ ): Promise<HttpResponseInterface | null>
AttackHttpDelete(name: string): Promise<HttpResponseInterface | null>