|
32 | 32 | "url": "https://socket-manager.github.io/document/rest-api/", |
33 | 33 | "description": "SOCKET-MANAGER Framework の REST-API 開発環境は、ステートマシン内蔵のイベントループにより Chunked Transfer・SSE・Range 送信を安定制御できる高速・堅牢な API 基盤です。REST-API は CUEI アーキテクチャ上で動作し、WebSocket/TCP/UDP と同一プロセスで共存可能です。PSR-7 準拠のため OAuth2 を含む外部ライブラリとも自然に統合でき、Laravel の Logger・Eloquent・Service Container などのリソースも追加実装なしで利用できます。", |
34 | 34 | "keywords": "SOCKET-MANAGER, REST-API, RESTful-API, PHP フレームワーク, ステートマシン, Chunked Transfer, SSE, Range送信, CUEI, イベント駆動, Laravel 連携, PSR-7, OAuth2, JWT, WebSocket, TCP, UDP, 高速API, 堅牢API", |
| 35 | + "image": "https://socket-manager.github.io/document/rest-api/img/index/sse.gif", |
35 | 36 | "inLanguage": "ja", |
36 | 37 | "breadcrumb": { |
37 | 38 | "@type": "BreadcrumbList", |
|
61 | 62 | } |
62 | 63 | } |
63 | 64 | }, |
64 | | - { |
65 | | - "@type": "ItemList", |
66 | | - "@id": "https://socket-manager.github.io/document/rest-api/basic-concepts", |
67 | | - "name": "REST-APIサーバー開発環境 - BASIC-CONCEPTS", |
68 | | - "about": { |
69 | | - "@type": "WebPage", |
70 | | - "@id": "https://socket-manager.github.io/document/rest-api/" |
71 | | - }, |
72 | | - "itemListOrder": "http://schema.org/ItemListOrderAscending", |
73 | | - "numberOfItems": 2, |
74 | | - "itemListElement": [ |
75 | | - { |
76 | | - "@type": "ListItem", |
77 | | - "position": 1, |
78 | | - "url": "https://socket-manager.github.io/document/rest-api/concept.html", |
79 | | - "name": "コンセプトと構造" |
80 | | - }, |
81 | | - { |
82 | | - "@type": "ListItem", |
83 | | - "position": 2, |
84 | | - "url": "https://socket-manager.github.io/document/rest-api/install.html", |
85 | | - "name": "導入と構成" |
86 | | - } |
87 | | - ] |
88 | | - }, |
89 | | - { |
90 | | - "@type": "ItemList", |
91 | | - "@id": "https://socket-manager.github.io/document/rest-api/quick-start", |
92 | | - "name": "REST-APIサーバー開発環境 - QUICK-START", |
93 | | - "about": { |
94 | | - "@type": "WebPage", |
95 | | - "@id": "https://socket-manager.github.io/document/rest-api/" |
96 | | - }, |
97 | | - "itemListOrder": "http://schema.org/ItemListOrderAscending", |
98 | | - "numberOfItems": 2, |
99 | | - "itemListElement": [ |
100 | | - { |
101 | | - "@type": "ListItem", |
102 | | - "position": 1, |
103 | | - "url": "https://socket-manager.github.io/document/rest-api/quickstart-sample.html", |
104 | | - "name": "サンプルを利用する場合" |
105 | | - }, |
106 | | - { |
107 | | - "@type": "ListItem", |
108 | | - "position": 2, |
109 | | - "url": "https://socket-manager.github.io/document/rest-api/quickstart-new-server.html", |
110 | | - "name": "新規でサーバーを作る場合" |
111 | | - } |
112 | | - ] |
113 | | - }, |
114 | 65 | { |
115 | 66 | "@type": "ItemList", |
116 | 67 | "@id": "https://socket-manager.github.io/document/rest-api/cuei-foundation", |
|
141 | 92 | "name": "ルーティングの概要" |
142 | 93 | } |
143 | 94 | ] |
144 | | - }, |
145 | | - { |
146 | | - "@type": "ItemList", |
147 | | - "@id": "https://socket-manager.github.io/document/rest-api/implement-styles", |
148 | | - "name": "REST-APIサーバー開発環境 - IMPLEMENT-STYLES", |
149 | | - "about": { |
150 | | - "@type": "WebPage", |
151 | | - "@id": "https://socket-manager.github.io/document/rest-api/" |
152 | | - }, |
153 | | - "itemListOrder": "http://schema.org/ItemListOrderAscending", |
154 | | - "numberOfItems": 2, |
155 | | - "itemListElement": [ |
156 | | - { |
157 | | - "@type": "ListItem", |
158 | | - "position": 1, |
159 | | - "url": "https://socket-manager.github.io/document/rest-api/event-handler.html", |
160 | | - "name": "イベントハンドラ型実装" |
161 | | - }, |
162 | | - { |
163 | | - "@type": "ListItem", |
164 | | - "position": 2, |
165 | | - "url": "https://socket-manager.github.io/document/rest-api/state-machine.html", |
166 | | - "name": "ステートマシン型実装" |
167 | | - } |
168 | | - ] |
169 | | - }, |
170 | | - { |
171 | | - "@type": "ItemList", |
172 | | - "@id": "https://socket-manager.github.io/document/rest-api/other-classes", |
173 | | - "name": "REST-APIサーバー開発環境 - OTHER-CLASSES", |
174 | | - "about": { |
175 | | - "@type": "WebPage", |
176 | | - "@id": "https://socket-manager.github.io/document/rest-api/" |
177 | | - }, |
178 | | - "itemListOrder": "http://schema.org/ItemListOrderAscending", |
179 | | - "numberOfItems": 5, |
180 | | - "itemListElement": [ |
181 | | - { |
182 | | - "@type": "ListItem", |
183 | | - "position": 1, |
184 | | - "url": "https://socket-manager.github.io/document/rest-api/main.html", |
185 | | - "name": "メイン処理クラス実装" |
186 | | - }, |
187 | | - { |
188 | | - "@type": "ListItem", |
189 | | - "position": 2, |
190 | | - "url": "https://socket-manager.github.io/document/rest-api/context.html", |
191 | | - "name": "コンテキストクラス実装" |
192 | | - }, |
193 | | - { |
194 | | - "@type": "ListItem", |
195 | | - "position": 3, |
196 | | - "url": "https://socket-manager.github.io/document/rest-api/parser.html", |
197 | | - "name": "パーサークラス実装" |
198 | | - }, |
199 | | - { |
200 | | - "@type": "ListItem", |
201 | | - "position": 4, |
202 | | - "url": "https://socket-manager.github.io/document/rest-api/parallel.html", |
203 | | - "name": "Parallelクラス実装" |
204 | | - }, |
205 | | - { |
206 | | - "@type": "ListItem", |
207 | | - "position": 5, |
208 | | - "url": "https://socket-manager.github.io/document/rest-api/scaffolding.html", |
209 | | - "name": "スキャフォールディング" |
210 | | - } |
211 | | - ] |
212 | | - }, |
213 | | - { |
214 | | - "@type": "ItemList", |
215 | | - "@id": "https://socket-manager.github.io/document/rest-api/setting-files", |
216 | | - "name": "REST-APIサーバー開発環境 - SETTING-FILES", |
217 | | - "about": { |
218 | | - "@type": "WebPage", |
219 | | - "@id": "https://socket-manager.github.io/document/rest-api/" |
220 | | - }, |
221 | | - "itemListOrder": "http://schema.org/ItemListOrderAscending", |
222 | | - "numberOfItems": 4, |
223 | | - "itemListElement": [ |
224 | | - { |
225 | | - "@type": "ListItem", |
226 | | - "position": 1, |
227 | | - "url": "https://socket-manager.github.io/document/rest-api/setting-routing.html", |
228 | | - "name": "ルーティング設定" |
229 | | - }, |
230 | | - { |
231 | | - "@type": "ListItem", |
232 | | - "position": 2, |
233 | | - "url": "https://socket-manager.github.io/document/rest-api/setting-parameter.html", |
234 | | - "name": "基本パラメータ設定" |
235 | | - }, |
236 | | - { |
237 | | - "@type": "ListItem", |
238 | | - "position": 3, |
239 | | - "url": "https://socket-manager.github.io/document/rest-api/setting-cors.html", |
240 | | - "name": "CORS 設定" |
241 | | - }, |
242 | | - { |
243 | | - "@type": "ListItem", |
244 | | - "position": 4, |
245 | | - "url": "https://socket-manager.github.io/document/rest-api/setting-parser.html", |
246 | | - "name": "パーサー設定" |
247 | | - } |
248 | | - ] |
249 | 95 | } |
250 | 96 | ] |
251 | 97 | } |
@@ -643,7 +489,7 @@ <h3>● SSE(再接続対応)デモ</h3> |
643 | 489 | Server-Sent Events(SSE)では、クライアントが切断された場合でも再接続後に続きから受信できます。<br /> |
644 | 490 | 以下の GIF アニメでは、接続断 → 再接続 → 続きのイベント受信までの流れを確認できます。<br /><br /> |
645 | 491 |
|
646 | | - <img src="./img/index/sse.gif" width="320px" loading="lazy" alt="SSE の再接続後に続きを受信するデモ" title="SSE の再接続とイベント受信の継続動作" /> |
| 492 | + <img src="./img/index/sse.gif" width="320px" fetchpriority="high" loading="eager" alt="SSE の再接続後に続きを受信するデモ" title="SSE の再接続とイベント受信の継続動作" /> |
647 | 493 |
|
648 | 494 | <br /> |
649 | 495 | <h3>● Rangeヘッダを使った分割送信デモ</h3> |
|
0 commit comments