aboutsummaryrefslogtreecommitdiff
path: root/_www/interface.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-15 15:19:01 +0700
committerShulhan <ms@kilabit.info>2024-03-15 15:19:01 +0700
commitc358921275fb6c847ed6f9a266712fb1b3488c07 (patch)
tree0d0595eb9e34a74fbb51a29aba631a9ed38a698a /_www/interface.ts
parent8ba25dd9f5d823a4bd66967b33ee9d2624397129 (diff)
downloadgorankusu-c358921275fb6c847ed6f9a266712fb1b3488c07.tar.xz
all: update module pakakeh.go to the tip
On the "lib/http" we refactoring RequestMethod and RequestType type from int to string for readability, when the value is encoded, for example to JSON. So instead of 0, 1 or 2; it will print "GET", "CONNECT", or "HEAD".
Diffstat (limited to '_www/interface.ts')
-rw-r--r--_www/interface.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/_www/interface.ts b/_www/interface.ts
index 9c4d487..d525c80 100644
--- a/_www/interface.ts
+++ b/_www/interface.ts
@@ -59,9 +59,9 @@ export interface HTTPTargetInterface {
Name: string;
Hint?: string;
ID: string;
- Method: number;
+ Method: string;
Path: string;
- RequestType: number;
+ RequestType: string;
Headers: KeyFormInput;
Params: KeyFormInput;
RawBody: string;