forked from Mirrors/doipjs
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
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
const ProxyPolicy = {
|
||||||
|
ADAPTIVE: 'adaptive',
|
||||||
|
ALWAYS: 'always',
|
||||||
|
NEVER: 'nver',
|
||||||
|
}
|
||||||
|
Object.freeze(ProxyPolicy)
|
||||||
|
|
||||||
const Fetcher = {
|
const Fetcher = {
|
||||||
HTTP: 'http',
|
HTTP: 'http',
|
||||||
DNS: 'dns',
|
DNS: 'dns',
|
||||||
|
@ -52,6 +59,7 @@ const ClaimRelation = {
|
||||||
}
|
}
|
||||||
Object.freeze(ClaimRelation)
|
Object.freeze(ClaimRelation)
|
||||||
|
|
||||||
|
exports.ProxyPolicy = ProxyPolicy
|
||||||
exports.Fetcher = Fetcher
|
exports.Fetcher = Fetcher
|
||||||
exports.ProofAccess = ProofAccess
|
exports.ProofAccess = ProofAccess
|
||||||
exports.ProofFormat = ProofFormat
|
exports.ProofFormat = ProofFormat
|
||||||
|
|
Loading…
Reference in a new issue