小程序批量删除的操作方式与技巧
602
2022-11-05
Swift的HTTP序列化器
HTTPSerializer
Usage
let serializer = RequestSerializer()try serializer.serialize(request) { data in try stream.send(data)}try stream.flush()
ResponseSerializer works the same way
let serializer = ResponseSerializer()try serializer.serialize(response) { data in try stream.send(data)}try stream.flush()
Installation
Add HTTPSerializer to your Package.swift
import PackageDescriptionlet package = Package( dependencies: [ .Package(url: "https://github.com/Zewo/HTTPSerializer.git", majorVersion: 0, minor: 8) ])
Support
If you need any help you can join our Slack and go to the #help channel. Or you can create a Github issue in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.
Community
The entire Zewo code base is licensed under MIT. By contributing to Zewo you are contributing to an open and engaged community of brilliant Swift programmers. Join us on Slack to get to know us!
License
This project is released under the MIT license. See LICENSE for details.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~