在google appengine上使用HTTP流(Consuming an HTTP stream on google appengine)

编程入门 行业动态 更新时间:2024-10-27 20:36:30
在google appengine上使用HTTP流(Consuming an HTTP stream on google appengine)

我正在尝试使用GAE使用http流。

逻辑流程是{source1..N} - > [GAE] - >浏览器报告和显示

据我了解,HTTP流将永远运行,因此简单的GET流程循环将无法工作。 任何人都可以推荐一种可以在GAE模型中使用的替代方法吗?

I am trying to consume an http stream using GAE.

the logical flow is {source1..N} --> [GAE] --> browser reporting & display

As I understand it, an HTTP stream will run forever, so a simple GET-process cycle won't work. Can anyone recommend an alternative approach that will work in the GAE model?

最满意答案

我不确定你的要求是什么,但也许你可以查看Channels API? 因此,您可以将应用程序的更新发送到订阅浏览器,而不是打开连续的流。

Google App Engine - 渠道API概述

I'm not sure what your requirement is but maybe you could look at the Channels API? So instead of having a continuous stream open, you could send updates from your app to a subscribing browser.

Google App Engine - Channels API Overview

更多推荐

本文发布于:2023-07-30 00:00:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1320796.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:appengine   google   HTTP   stream   Consuming

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!