[WIP] Added envelopes

This commit is contained in:
2021-04-30 20:11:06 +02:00
parent cb7115a035
commit fc3c2cb796

View File

@ -173,6 +173,9 @@ An *User* may have multiple *Profiles* which in turn may contain multiple *Accou
#### 2.3.2 Account {#account}
#### 2.3.3 Profile {#profile}
#### 2.3.4 Account Types {#account-types}
@ -201,17 +204,31 @@ An *User* may have multiple *Profiles* which in turn may contain multiple *Accou
#### 2.6.2 Bridge {#bridge}
## 3 Transport Protocols {#transport-protocols}
## 3 Transport {#transport}
Following protocols may be used to transport USIMP messages between USIMP participants:
### 3.1 Transport Protocols {#transport-protocol}
In USIMP the messages used to communicate between participants are calles envelopes.
For each of the transport protocols the envelope format may look different.
Following protocols may be used to transport USIMP envelopes between USIMP participants:
* [*Hypertext Transfer Protocol* (HTTP) and HTTPS](transport/http.md)
* [*WebSocket Protocol* (WS) and WSS](transport/websocket.md)
* [*User Datagram Protocol* (UDP)](transport/udp.md)
| Protocol | L3 Protocol | Encrypted | Default Port | Required |
|----------|-------------|-----------|--------------|----------|
| HTTP | TCP | No | 80 | Yes |
| HTTPS | TCP | Yes | 443 | No |
| WS | TCP | No | 80 | No |
| WSS | TCP | Yes | 443 | No |
| Protocol | L3 Protocol | Encrypted | Default Port | Implementation Required |
|----------|-------------|-----------|--------------|-------------------------|
| HTTP | TCP | No | 80 | Yes |
| HTTPS | TCP | Yes | 443 | No |
| WS | TCP | No | 80 | No |
| WSS | TCP | Yes | 443 | No |
### 3.2 Envelopes {#envelopes}
Each USIMP envelope has to contain the following fields in some form:
* Domain-ID
* Status
* Method/Resource name
* Credentials