export interface IRequestOptions { beforeSend?: (xhr: XMLHttpRequest)=>void }