Skip to content

Commit 96c9930

Browse files
v1.52.4 Release
文書の校正
1 parent c4e02e0 commit 96c9930

3 files changed

Lines changed: 5 additions & 158 deletions

File tree

rest-api/cuei.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"headline": "REST-APIサーバー開発環境 - CUEIとの実装レベルでの関係",
2929
"description": "SOCKET-MANAGER Framework における CUEI(Communication / Union / Event / IPC)と REST-API の実装レベルでの関係を解説。通信抽象化、Context、イベントループ、ステートマシン、IPC、CUEI/O(Launcher)との連携までを体系的にまとめた技術ガイド。",
3030
"keywords": "SOCKET-MANAGER, CUEI, CUEI/O, REST-API, Communication, Union, Event, IPC, Context, Event Loop, マイクロサービス, PHP フレームワーク",
31+
"image": "https://socket-manager.github.io/document/rest-api/img/cuei/process-structure.png",
3132
"inLanguage": "ja",
3233
"articleSection": [
3334
"CUEI Architecture",
@@ -331,7 +332,7 @@ <h3 class="underline">REST-API と CUEI 四象限のつながり</h3>
331332

332333
<div class="img-block">
333334
<a href="./img/cuei/process-structure.png" target="_blank">
334-
<img src="./img/cuei/process-structure.png" width="520" loading="lazy"
335+
<img src="./img/cuei/process-structure.png" width="520" fetchpriority="high" loading="eager"
335336
alt="1サービス=1プロセス内で、TCPモジュールがCommunicationを、UDPモジュールがIPCを担当し、共通のEventとUnionを共有して動作する構造の例"
336337
title="1サービス内で並列動作する Communication(TCP)と IPC(UDP)モジュールの構成例" />
337338
</a>

rest-api/index.html

Lines changed: 2 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"url": "https://socket-manager.github.io/document/rest-api/",
3333
"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 などのリソースも追加実装なしで利用できます。",
3434
"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",
3536
"inLanguage": "ja",
3637
"breadcrumb": {
3738
"@type": "BreadcrumbList",
@@ -61,56 +62,6 @@
6162
}
6263
}
6364
},
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-
},
11465
{
11566
"@type": "ItemList",
11667
"@id": "https://socket-manager.github.io/document/rest-api/cuei-foundation",
@@ -141,111 +92,6 @@
14192
"name": "ルーティングの概要"
14293
}
14394
]
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-
]
24995
}
25096
]
25197
}
@@ -643,7 +489,7 @@ <h3>● SSE(再接続対応)デモ</h3>
643489
Server-Sent Events(SSE)では、クライアントが切断された場合でも再接続後に続きから受信できます。<br />
644490
以下の GIF アニメでは、接続断 → 再接続 → 続きのイベント受信までの流れを確認できます。<br /><br />
645491

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 の再接続とイベント受信の継続動作" />
647493

648494
<br />
649495
<h3>● Rangeヘッダを使った分割送信デモ</h3>

rest-api/quickstart-new-server.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ <h2 class="subtitle">サーバーを起動する</h2>
336336

337337
メイン処理クラス生成時の `Hello` の名称が `identifier` にもセットされます。<br />
338338

339-
<pre color-change="php" aria-label="identifier">
339+
<pre color-change="php" aria-label="identifer">
340340
protected string $identifer = 'app:Hello {port?} {keep_alive?}';
341341
</pre><br />
342342

0 commit comments

Comments
 (0)