EMERGING TRENDS IN COMPUTING
INTERNET OF THINGS IOT
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
An API which allows bidirectional, full duplex communication between clients and servers is
|
REST API
|
|
Web Socket based API
|
|
Request Response API
|
|
All of the above
|
Explanation:
Detailed explanation-1: -API Gateway WebSocket APIs are bidirectional. A client can send messages to a service, and services can independently send messages to clients. This bidirectional behavior enables richer client/service interactions because services can push data to clients without requiring clients to make an explicit request.
Detailed explanation-2: -The WebSocket API invokes your backend based on the content of the messages it receives from client apps. Unlike a REST API, which receives and responds to requests, a WebSocket API supports two-way communication between client apps and your backend. The backend can send callback messages to connected clients.
There is 1 question to complete.