/**
 * 專案名稱： @wistroni40/bnft
 * 部門代號： ML8100
 * 檔案說明： 抽象HTTP HEAD
 * @CREATE Thu Jan 21 2021 下午2:58:22
 * @author Steve Y Lin
 * @contact Steve_Y_Lin@wistron.com #1342
 * -----------------------------------------------------------------------------
 * @NOTE
 */

import { Observable } from 'rxjs';
import { HttpResponse } from '../response';

/**
 * 抽象HTTP HEAD
 */
export interface HttpHead {
  /**
   * 調用HTTP HEAD
   *
   * @method public
   * @param url     呼叫URL
   * @param options 查詢選項
   * @return 回傳查詢結果
   */
  head<T = any>(url: string, options?: any): Observable<HttpResponse<T>>;
}
