It says that REST API is only used in http communication. But Web sockets is over TCP. So if REST API cannot be used with web sockets, then is there some other standardized API for this form of communication?
Also, is there a web sockets equivalent for http? If not, I would like to understand the reason for the same.