# Class Middleware

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:71

#####
Index

### Constructors

constructor

### Properties

_hmrPath
_instanceId
_options
_webpackHotOptions
canContinue
cwdBaseUrl
cwdContextBaseUrl
cwdIndex
cwdMemIndex
devBaseUrl
devBaseUrlSlash
devMiddleware
dllDevUrl
hotMiddleware
listAssetPath
memFsCwd
publicPath
reporterUrl
returnReporter
webpackDev

### Methods

process
setup

## Constructors

### constructor

- new Middleware(options): Middleware

- #### Parameters

  - options: any

  #### Returns Middleware

  - Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:93

## Properties

### _hmrPath

_hmrPath: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:75

### _instanceId

_instanceId: number

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:74

### _options

_options: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:72

### _webpackHotOptions

_webpackHotOptions: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:76

### canContinue

canContinue: symbol

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:73

### cwdBaseUrl

cwdBaseUrl: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:86

### cwdContextBaseUrl

cwdContextBaseUrl: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:87

### cwdIndex

cwdIndex: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:83

### cwdMemIndex

cwdMemIndex: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:82

### devBaseUrl

devBaseUrl: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:84

### devBaseUrlSlash

devBaseUrlSlash: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:85

### devMiddleware

devMiddleware: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:77

### dllDevUrl

dllDevUrl: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:89

### hotMiddleware

hotMiddleware: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:78

### listAssetPath

listAssetPath: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:79

### memFsCwd

memFsCwd: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:81

### publicPath

publicPath: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:80

### reporterUrl

reporterUrl: string

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:88

### returnReporter

returnReporter: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:91

### webpackDev

webpackDev: any

- Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:90

## Methods

### process

- process(req, res, cycle): Promise<any>

- #### Parameters

  - req: any
  - res: any
  - cycle: any

  #### Returns Promise<any>

  - Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:268

### setup

- setup(): void

- #### Returns void

  - Defined in packages/xarc-app-dev/src/lib/dev-admin/middleware.ts:99