//| echo: false
//| output: true
%%plantUML
@startuml
skinparam backgroundColor white
skinparam sequenceMessageAlign center
skinparam defaultFontSize 14
participant "Client\n192.168.1.10" as C
participant "Router\n203.0.113.1" as R
participant "Server\n198.51.100.10" as S
note over C, S: Établissement connexion TCP (3-way handshake)
C -> R: SYN (seq=x)
R -> S: SYN (seq=x)
S -> R: SYN-ACK (seq=y, ack=x+1)
R -> C: SYN-ACK (seq=y, ack=x+1)
C -> R: ACK (ack=y+1)
R -> S: ACK (ack=y+1)
note over C, S: HTTP Request/Response
C -> R: GET /index.html HTTP/1.1
R -> S: GET /index.html HTTP/1.1
S -> R: HTTP/1.1 200 OK
R -> C: HTTP/1.1 200 OK
@enduml