public PowerLineEndPoint AddHandler(string endpointName, PowerLineHandleMethod httpMethod, Action <PowerLineContext> func) { return(this.AddHandler(endpointName, httpMethod.ToString(), func)); }
public PowerLineHandler AsMethod(PowerLineHandleMethod httpMethod) => this.AsMethod(httpMethod.ToString());
public static PowerLineHandler Create(PowerLineHandleMethod httpMethod, Action <PowerLineContext> mainFunction) => Create(httpMethod.ToString(), mainFunction);
public PowerLineHandler(PowerLineHandleMethod httpMethod) : this(httpMethod.ToString()) { }