Project

General

Profile

機能 #569

サーバ側から通知は Server-Sent Events (SSE) を利用するように変更

Added by みぞ @mizo0203 over 1 year ago. Updated over 1 year ago.

Status:
完了
Priority:
通常
Target version:
Start date:
03/28/2020
Due date:
% Done:

100%

Estimated time:
Spent time:


Related issues

Blocked by バグ #564: 緑に画面に変わらない場合がある完了みぞ @mizo020312/08/2019

Actions
#1

Updated by みぞ @mizo0203 over 1 year ago

  • Description updated (diff)
#2

Updated by みぞ @mizo0203 over 1 year ago

  • Status changed from 進行中 to 解決
  • % Done changed from 40 to 80

更新履歴 github|0c9f8b2a05f082ff78e23007d0ed25c5f1321fc5 で適用されました。

#3

Updated by みぞ @mizo0203 over 1 year ago

  • Status changed from 解決 to 完了
  • % Done changed from 80 to 100

修正前:

$ curl -i http://localhost:8080/fastest-finger-first/stream
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/octet-stream;charset=UTF-8
Transfer-Encoding: chunked
Date: Sat, 28 Mar 2020 07:50:50 GMT

{"delayMs":"","hero":"hero","button":"<input class=\"button is-primary is-large is-fullwidth\" onclick=\"send(7);\" type=\"button\" value=\"PUSH !\"/>"}

修正後:

$ curl -i http://localhost:8080/fastest-finger-first/stream
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Connection: keep-alive
Content-Type: text/event-stream;charset=UTF-8
Transfer-Encoding: chunked
Date: Sat, 28 Mar 2020 07:50:44 GMT

event: open

event: message
data: {"delayMs":"","hero":"hero","button":"<input class=\"button is-primary is-large is-fullwidth\" onclick=\"send(5);\" type=\"button\" value=\"PUSH !\"/>"}
#4

Updated by みぞ @mizo0203 over 1 year ago

  • Blocked by バグ #564: 緑に画面に変わらない場合がある added

Also available in: Atom PDF