@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
28 lines (18 loc) • 822 B
Markdown
lang: en
title: 'API docs: graphql.graphqlserver.getmiddlewarelist'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/graphql
permalink: /doc/en/lb4/apidocs.graphql.graphqlserver.getmiddlewarelist.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/graphql](./graphql.md) > [GraphQLServer](./graphql.graphqlserver.md) > [getMiddlewareList](./graphql.graphqlserver.getmiddlewarelist.md)
## GraphQLServer.getMiddlewareList() method
Get a list of middleware
**Signature:**
```typescript
getMiddlewareList<T extends {}>(): Promise<Middleware<T>[]>;
```
**Returns:**
Promise<Middleware<T>\[\]>