lib/protobuf.js
function StaticEndpoint(properties) {
            this.headers = {};
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function StaticEndpoint(properties) {
            this.headers = {};
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function StaticEndpoint ( properties ) { this . headers = { } ; if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a StaticEndpoint.
@memberof staticwebsite
@interface IStaticEndpoint
@property {string} [path] StaticEndpoint path
@property {Object.<string,string>} [headers] StaticEndpoint headers
@property {Uint8Array} [body] StaticEndpoint body
 
Constructs a new StaticEndpoint.
@memberof staticwebsite
@classdesc Represents a StaticEndpoint.
@constructor
@param {staticwebsite.IStaticEndpoint=} [properties] Properties to set
Properties of a StaticEndpoint .