wyvern8/akamai-nginx

View on GitHub
src/criteria/requestProtocol.js

Summary

Maintainability
A
2 hrs
Test Coverage
import { Criteria } from '../criteria.js';

export class CriteriaRequestProtocol extends Criteria {

    constructor(options, valueMap) {
        super();
        this.options = options;
        this.valueMap = valueMap;
        this.checkVar = 'ngx.var.scheme';
    }

    process() {
        return super.process();
    }

}
Criteria.register('requestProtocol', CriteriaRequestProtocol);