whitesharx/httx

View on GitHub
Assets/Httx/Runtime/Requests/Executors/Head.cs

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright (C) 2020 White Sharx (https://whitesharx.com) - All Rights Reserved.
// Unauthorized copying of this file, via any medium is strictly prohibited.
// Proprietary and confidential.
//

using System.Collections.Generic;
using UnityEngine.Networking;

namespace Httx.Requests.Executors {
  public class Head : As<IEnumerable<KeyValuePair<string, string>>> {
    public Head(string url) : base(null) { Url = url; }
    public override string Url { get; }
    public override string Verb => UnityWebRequest.kHttpVerbHEAD;
  }
}