C# Class Microsoft.Azure.WebJobs.Script.WebHost.WebScriptHostManager

Inheritance: ScriptHostManager
Show file Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Public Methods

Method Description
GetHttpFunctionOrNull ( HttpRequestMessage request ) : FunctionDescriptor
HandleRequestAsync ( FunctionDescriptor function, HttpRequestMessage request, CancellationToken cancellationToken ) : Task
Initialize ( ) : void
WarmUp ( WebHostSettings settings ) : void
WebScriptHostManager ( ScriptHostConfiguration config, ISecretManagerFactory secretManagerFactory, ScriptSettingsManager settingsManager, WebHostSettings webHostSettings ) : System
WebScriptHostManager ( ScriptHostConfiguration config, ISecretManagerFactory secretManagerFactory, ScriptSettingsManager settingsManager, WebHostSettings webHostSettings, IScriptHostFactory scriptHostFactory = null ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnHostCreated ( ) : void
OnHostStarted ( ) : void
OnInitializeConfig ( ScriptHostConfiguration config ) : void

Private Methods

Method Description
AddRouteDataToRequest ( IHttpRouteData routeData, HttpRequestMessage request ) : void
CreateGetWebHookDataMethodInfo ( ) : MethodInfo
GetFunctionArguments ( FunctionDescriptor function, HttpRequestMessage request ) : object>.Dictionary
GetWebHookData ( Type dataType, WebHookHandlerContext context ) : object
InitializeHttpFunctions ( IEnumerable functions ) : void
ReadResourceString ( string fileName ) : string
ResetStandbyMode ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetHttpFunctionOrNull() public method

public GetHttpFunctionOrNull ( HttpRequestMessage request ) : FunctionDescriptor
request System.Net.Http.HttpRequestMessage
return Microsoft.Azure.WebJobs.Script.Description.FunctionDescriptor

HandleRequestAsync() public method

public HandleRequestAsync ( FunctionDescriptor function, HttpRequestMessage request, CancellationToken cancellationToken ) : Task
function Microsoft.Azure.WebJobs.Script.Description.FunctionDescriptor
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
return Task

Initialize() public method

public Initialize ( ) : void
return void

OnHostCreated() protected method

protected OnHostCreated ( ) : void
return void

OnHostStarted() protected method

protected OnHostStarted ( ) : void
return void

OnInitializeConfig() protected method

protected OnInitializeConfig ( ScriptHostConfiguration config ) : void
config ScriptHostConfiguration
return void

WarmUp() public static method

public static WarmUp ( WebHostSettings settings ) : void
settings WebHostSettings
return void

WebScriptHostManager() public method

public WebScriptHostManager ( ScriptHostConfiguration config, ISecretManagerFactory secretManagerFactory, ScriptSettingsManager settingsManager, WebHostSettings webHostSettings ) : System
config ScriptHostConfiguration
secretManagerFactory ISecretManagerFactory
settingsManager Microsoft.Azure.WebJobs.Script.Config.ScriptSettingsManager
webHostSettings WebHostSettings
return System

WebScriptHostManager() public method

public WebScriptHostManager ( ScriptHostConfiguration config, ISecretManagerFactory secretManagerFactory, ScriptSettingsManager settingsManager, WebHostSettings webHostSettings, IScriptHostFactory scriptHostFactory = null ) : System
config ScriptHostConfiguration
secretManagerFactory ISecretManagerFactory
settingsManager Microsoft.Azure.WebJobs.Script.Config.ScriptSettingsManager
webHostSettings WebHostSettings
scriptHostFactory IScriptHostFactory
return System