import { Irequest , IRequest } from "../../../@types/helper/methods" ; import { Base } from "../../utils" ; /**
 * XML HTTP Request
 */ export const request = ( props ) : PromiseLike < any > => { return new Promise ( ( resolve , reject ) => { ( new Base ( { method : props . method || "GET" , url : props . url , requestHeader : props . headers , data : props . data } ) ) . execute ( resolve , reject ) ; } ) ; } ;