flash - AS3 中有更多 HTTP 动词吗?

标签 flash actionscript-3 http rest

我正在与开发团队一起使用 Flash 开发一款社交游戏。我们的服务器端人员开发了一个非常灵活的 RESTful API,供 Flash 客户端与之对话。许多客户端-服务器交互涉及在持久世界中添加和删除对象,因此 API 广泛使用了 PUT 和 DELETE 动词。

问题是,AS3 中的 URLRequest 对象仅支持 GET 和 POST 动词。

我们的日程安排很严格,而且我们真的不想重写整个 API 来只使用 GET 和 POST。有没有人想出一个让 Flash 发送其他动词的好方法?

最佳答案

这似乎是要使用的项目。 <强> as3httpclient

HTTPURLLoader also provides different HTTP status messages and can be used for different HTTP methods.for different HTTP methods.

关于flash - AS3 中有更多 HTTP 动词吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2966953/

相关文章:

android - 如何为每个应用程序使用一个 HttpClient?

flash - 从 Electron/聚合物中的嵌入式Flash中进行打印

silverlight - qtbrowserplugin 与 flash/silverlight?

apache-flex - 从 Flex 4 中的项目渲染器调用自定义事件

c# - 如何在 flex 中为 C# 后端序列化对象

http - 从 Golang 中的网络/上下文中获取值

xml - HTTP GET 请求获取 XML 文件的二进制内容

javascript - 如何弃用 flash/flex 公开的 javascript 函数?

javascript - 如何检查 Flash 播放器是否安装在 Android 上

actionscript-3 - 如何 : force output sound of application to go through Bluetooth headset