Can I use TCP in a RESTful service?

前端 未结 6 946
攒了一身酷
攒了一身酷 2021-01-01 17:29

REST is using current features of the Web and applying some principles on it to make it more efficient. It uses standard HTTP verbs for communication and take help of its st

6条回答
  •  走了就别回头了
    2021-01-01 18:08

    You can't use other binding except Http for Rest based services. It is due to Rest is a architectural style which is based on certain principle. One of this principle is to take help of stateless protocol of web which is http, also it also want Http words such as Get, Port,Put and Delete to use which are not available at TCP Protocol

提交回复
热议问题