Show / Hide Table of Contents

Class ServerTimingMiddleware

Middleware providing support for Server Timing API in the worker execution pipeline.

Inheritance
System.Object
ServerTimingMiddleware
Implements
Microsoft.Azure.Functions.Worker.Middleware.IFunctionsWorkerMiddleware
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lib.Azure.Functions.Worker.ServerTiming
Assembly: Lib.Azure.Functions.Worker.ServerTiming.dll
Syntax
public class ServerTimingMiddleware : IFunctionsWorkerMiddleware

Constructors

ServerTimingMiddleware(ServerTimingOptions)

Instantiates a new ServerTimingMiddleware.

Declaration
public ServerTimingMiddleware(ServerTimingOptions options)
Parameters
Type Name Description
ServerTimingOptions options

Server timing configuration options

Methods

Invoke(FunctionContext, FunctionExecutionDelegate)

Process an individual invocation.

Declaration
public async Task Invoke(FunctionContext context, FunctionExecutionDelegate next)
Parameters
Type Name Description
Microsoft.Azure.Functions.Worker.FunctionContext context

The Microsoft.Azure.Functions.Worker.FunctionContext for the current invocation.

Microsoft.Azure.Functions.Worker.Middleware.FunctionExecutionDelegate next

The next middleware in the pipeline.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task object representing the asynchronous operation.

Implements

Microsoft.Azure.Functions.Worker.Middleware.IFunctionsWorkerMiddleware
Back to top Copyright © 2017 - 2023 Tomasz Pęczek