serialized-request:发出HTTP请求,并序列化对JavascriptTypescript类对象的请求和响应-源码

上传者: 42138525 | 上传时间: 2021-02-09 18:05:53 | 文件大小: 145KB | 文件类型: ZIP
序列化请求 发出HTTP请求,并对Javascript / Typescript类对象的请求和响应进行序列化/反序列化。 Serialized-Request使用处理HTTP调用,并使用将普通对象与类对象相互转换 安装 npm i @simpli/serialized-request axios class-transformer 请求使用 序列化请求支持GET,POST,PUT,PATCH,DELETE和HEAD Http方法 进口 import { Request , RequestListener } from '@simpli/serialized-request' // RequestListener is optional 为请求和响应创建任何类 class BlogPost { id : number | null = null title : string | n

文件下载

资源详情

[{"title":"( 26 个子文件 145KB ) serialized-request:发出HTTP请求,并序列化对JavascriptTypescript类对象的请求和响应-源码","children":[{"title":"serialized-request-master","children":[{"title":".gitignore <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"code-of-conduct.md <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 592.42KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Annotations.ts <span style='color:#111;'> 742B </span>","children":null,"spread":false},{"title":"ResponseType.ts <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"RequestListener.ts <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"SocketConnection.ts <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"Config.ts <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"ResponseEvent.ts <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"Response.ts <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"ClassType.ts <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"Request.ts <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"rollup.config.ts <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"semantic-release-prepare.ts <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"gh-pages-publish.ts <span style='color:#111;'> 899B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":".npmignore <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"Request.test.ts <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false}],"spread":false},{"title":".editorconfig <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明