mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Add ProxyPolicy enum
This commit is contained in:
parent
e52c63e4e0
commit
1bbf6511e4
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const ProxyPolicy = {
|
||||
ADAPTIVE: 'adaptive',
|
||||
ALWAYS: 'always',
|
||||
NEVER: 'nver',
|
||||
}
|
||||
Object.freeze(ProxyPolicy)
|
||||
|
||||
const Fetcher = {
|
||||
HTTP: 'http',
|
||||
DNS: 'dns',
|
||||
|
@ -52,6 +59,7 @@ const ClaimRelation = {
|
|||
}
|
||||
Object.freeze(ClaimRelation)
|
||||
|
||||
exports.ProxyPolicy = ProxyPolicy
|
||||
exports.Fetcher = Fetcher
|
||||
exports.ProofAccess = ProofAccess
|
||||
exports.ProofFormat = ProofFormat
|
||||
|
|
Loading…
Reference in a new issue