UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

15 lines (14 loc) 256 B
/** * HTTP Methods Enum * @since 9.0.0 */ export default Object.freeze({ CONNECT: 'CONNECT', TRACE: 'TRACE', OPTIONS: 'OPTIONS', DELETE: 'DELETE', PATCH: 'PATCH', HEAD: 'HEAD', POST: 'POST', PUT: 'PUT', GET: 'GET' });