---
lang: en
title: 'API docs: express.invokemiddlewareprovider.value'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/express
permalink: /doc/en/lb4/apidocs.express.invokemiddlewareprovider.value.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/express](./express.md) &gt; [InvokeMiddlewareProvider](./express.invokemiddlewareprovider.md) &gt; [value](./express.invokemiddlewareprovider.value.md)

## InvokeMiddlewareProvider.value() method

<b>Signature:</b>

```typescript
static value(
    binding: Binding<InvokeMiddleware>, 
    defaultOptions?: InvokeMiddlewareOptions): InvokeMiddleware;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  binding | [Binding](./context.binding.md)<!-- -->&lt;[InvokeMiddleware](./express.invokemiddleware.md)<!-- -->&gt; |  |
|  defaultOptions | [InvokeMiddlewareOptions](./express.invokemiddlewareoptions.md) |  |

<b>Returns:</b>

[InvokeMiddleware](./express.invokemiddleware.md)


