Method | Description | |
---|---|---|
ConfigureHost ( IInjectionContainer container ) : ICrowHttpHost |
Configures the host with default configuration. Port: 80 and baseurl : localhost
|
|
ConfigureHost ( IInjectionContainer container, string baseUrl ) : ICrowHttpHost |
Configures the host with default port 80.
|
|
ConfigureHost ( IInjectionContainer container, string baseUrl, int port, bool isHttps = false ) : ICrowHttpHost |
Configures the host with the given baseurl and port.
|
|
CrowHost ( ILog log, INamingConvention convention, IInjectionContainer container, IConfigurationHelper configuration, IHttpHost host ) : System.Net.Http |
Initializes a new instance of CrowHost.
|
Method | Description | |
---|---|---|
BeforeHostStart ( IHttpHost host, |
Initializes before the host starts.
|
protected BeforeHostStart ( IHttpHost host, |
||
host | IHttpHost | |
handler | ||
configuration | System.Web.Http.SelfHost.HttpSelfHostConfiguration | |
return | void |
public static ConfigureHost ( IInjectionContainer container ) : ICrowHttpHost | ||
container | IInjectionContainer | |
return | ICrowHttpHost |
public static ConfigureHost ( IInjectionContainer container, string baseUrl ) : ICrowHttpHost | ||
container | IInjectionContainer | |
baseUrl | string | |
return | ICrowHttpHost |
public static ConfigureHost ( IInjectionContainer container, string baseUrl, int port, bool isHttps = false ) : ICrowHttpHost | ||
container | IInjectionContainer | |
baseUrl | string | |
port | int | |
isHttps | bool | |
return | ICrowHttpHost |
public CrowHost ( ILog log, INamingConvention convention, IInjectionContainer container, IConfigurationHelper configuration, IHttpHost host ) : System.Net.Http | ||
log | ILog | Instance of logger. |
convention | INamingConvention | Naming convention instance. |
container | IInjectionContainer | Dependency injection container. |
configuration | IConfigurationHelper | Configuration helper. |
host | IHttpHost | Http host instance. |
return | System.Net.Http |