Class: CustomHttpPattern
A custom pattern is used for defining custom HTTP verb.
Properties
kind
kind:
string
The name of this custom HTTP verb.
path
path:
string
The path matched by this custom verb.
Methods
toJSON()
toJSON():
object
Converts this CustomHttpPattern to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):CustomHttpPattern&$Properties
Creates a new CustomHttpPattern instance using the specified properties.
Parameters
properties?
Properties to set
Returns
CustomHttpPattern & $Properties
CustomHttpPattern instance