Skip to content

Instantly share code, notes, and snippets.


Stavros Schizas sschizas

View GitHub Profile
sschizas / DoHConfigurarion.swift
Created Dec 23, 2020
DNS-over-HTTPS (DoH) configuration enumeration to be used in `NWParameters.PrivacyContext`.
View DoHConfigurarion.swift
enum DoHConfigurarion: Hashable {
case adGuard
case alibaba
case cloudflare
case google
case openDNS
case quad9
var httpsURL: URL {
switch self {