Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
›
Swift Blog
›
Swift.org
›
Swift Programming on Medium
›
Vapor
›
Perfect Web Framework
›
Kitura Web Framework
V2EX
›
Swift
Swift alamofire 提交多个请求的时候是不是有时间间隔?
axdz
·
Sep 9, 2019
· 5160 views
This topic created in 2425 days ago, the information mentioned may be changed or developed.
请求发送之后,发送第二个请求就会报错,后台不能获取到请求,如果等 30s 或者一分钟之后再发送,不会报错
请求
发送
alamofire
Swift
6 replies
•
2019-09-10 11:06:10 +08:00
1
ydatong
Sep 9, 2019
没有吧。。我们 app 首页进去十几个接口,请求都是同时发送的,没啥问题
2
hauibojek
Sep 9, 2019
怎么可能,你看看是不是你用法有问题。
3
axdz
OP
Sep 10, 2019
@
ydatong
你是用链式请求吗?
4
axdz
OP
Sep 10, 2019
@
hauibojek
是不是请求完成之后,要关闭请求?
5
hauibojek
Sep 10, 2019
@
axdz
老哥,哪有关闭请求这种说法,就 alamofire 简单的用法,有几个请求写几个就行了,你是不是用了什么骚操作导致出问题了
6
ydatong
Sep 10, 2019 via iPhone
@
axdz
没有啊,就按照官方文档来用的,没别的
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2477 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 05:54
·
PVG 13:54
·
LAX 22:54
·
JFK 01:54
♥ Do have faith in what you're doing.
❯