Spaces:
Sleeping
Sleeping
Anwar11234
commited on
Commit
•
24ad1e8
1
Parent(s):
20d8f0a
lll
Browse files- examples.py +0 -5
examples.py
CHANGED
@@ -178,17 +178,12 @@ Middlewares can perform various tasks, such as:
|
|
178 |
participant Client as "Client"
|
179 |
participant Server as "Server"
|
180 |
|
181 |
-
note over Client: "Client initiates request"
|
182 |
Client->>Server: Request (e.g. HTTP GET)
|
183 |
Server->>Server: Process request
|
184 |
Server->>Database: Query database (if necessary)
|
185 |
Database->>Server: Return data (if necessary)
|
186 |
Server->>Client: Response (e.g. HTML page)
|
187 |
note over Client: "Client receives response"
|
188 |
-
|
189 |
-
alt Error handling
|
190 |
-
Server->>Client: Error response (e.g. 404 Not Found)
|
191 |
-
end
|
192 |
```
|
193 |
Here's a step-by-step explanation of the sequence diagram:
|
194 |
|
|
|
178 |
participant Client as "Client"
|
179 |
participant Server as "Server"
|
180 |
|
|
|
181 |
Client->>Server: Request (e.g. HTTP GET)
|
182 |
Server->>Server: Process request
|
183 |
Server->>Database: Query database (if necessary)
|
184 |
Database->>Server: Return data (if necessary)
|
185 |
Server->>Client: Response (e.g. HTML page)
|
186 |
note over Client: "Client receives response"
|
|
|
|
|
|
|
|
|
187 |
```
|
188 |
Here's a step-by-step explanation of the sequence diagram:
|
189 |
|