HttpServerBoxed 0.0.11 alpha
A simple http server for C# and .NET
Loading...
Searching...
No Matches
HSB.Binding Class Reference

Defines the path of the servlet, optionally it can catch ALL the requests that search for path starting with the given value. More...

Inheritance diagram for HSB.Binding:

Public Member Functions

 Binding (string path, bool startsWith=false)
 

Properties

string Path [get]
 
bool StartsWith [get]
 

Detailed Description

Defines the path of the servlet, optionally it can catch ALL the requests that search for path starting with the given value.

Definition at line 9 of file BindingAttribute.cs.

Constructor & Destructor Documentation

◆ Binding()

HSB.Binding.Binding ( string  path,
bool  startsWith = false 
)

Definition at line 20 of file BindingAttribute.cs.

21 {
22 this.path = path;
23 this.startsWith = startsWith;
24 }

Property Documentation

◆ Path

string HSB.Binding.Path
get

Definition at line 26 of file BindingAttribute.cs.

27 {
28 get { return path; }
29 }

◆ StartsWith

bool HSB.Binding.StartsWith
get

Definition at line 31 of file BindingAttribute.cs.

32 {
33 get { return startsWith; }
34 }

The documentation for this class was generated from the following file: