squidGame/tgx-games-client/assets/module_basic/network/IHttpProto.ts

35 lines
912 B
TypeScript

/************************************************************************************
* FileName: IHttpProto.ts
* Description:
*
* Version: v1.0.0
* Creator: Jacky(jackylvm@foxmail.com)
* CreationTime: 2024-04-22 16:52:56
* Copyright: 2021 - 2024
* ==============================================================
* History update record:
*
* ==============================================================
*************************************************************************************/
import {
BodiesType,
HeadersType,
HttpMethod,
ParamsType,
RequestCallback
} from "db://assets/module_basic/network/HttpProto";
export default interface IHttpProto {
get url(): string;
get method(): HttpMethod;
get headers(): HeadersType;
get params(): ParamsType;
get bodies(): BodiesType;
get callback(): RequestCallback;
}