import {HttpMethodType} from "../../../enum" import {IHttpSend} from "../../interface" import {ConstructorType} from "../../type" export default class HttpMethod implements IHttpSend{ public type: HttpMethodType public route: string public cost: ConstructorType public methodName: string constructor({route = '', type = HttpMethodType.GET, cost = HttpMethod, methodName = ''} = {}){ this.route = route this.type = type this.cost = cost this.methodName = methodName } }