| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- esp.json - ESP configuration file
- */
- {
- name: 'websockets',
- description: 'WebSockets chat sample',
- version: '0.2.0',
- esp: {
- app: true,
- },
- http: {
- routes: [
- {
- pattern: '^/ws/{controller}/{action}$',
- autoFinalize: false,
- prefix: '/ws',
- source: 'chat.c',
- target: '$1/$2',
- pipeline: {
- filters: [ 'webSocketFilter' ],
- handlers: 'espHandler',
- },
- limits: {
- webSockets: 20,
- webSocketsMessage: '40MB',
- webSocketsPacket: '40MB',
- webSocketsProtocol: 'chat',
- requestTimeout: 'unlimited',
- inactivityTimeout: 'unlimited',
- rxBody: 'unlimited',
- txBody: 'unlimited',
- },
- timeouts: {
- inactivity: '10mins',
- request: 'never',
- },
- }
- ]
- }
- }
|