0
먼저 시작하기 만하면 나는 리무진에 익숙하지 않습니다. 나는 메시지를 보내는 클라이언트가 다른 모든 클라이언트에게 메시지를 브로드 캐스팅하는 브로드 캐스트 대화방을 구현하려고했다.Restlet API를 사용하여 채팅 서비스를 구현
My attempt was to use a resource on the server side where the client would send the message(as a String) using POST. The other clients would constantly have to poll this resource to receive the message. I know this method must be horribly ineffective.
I was wondering if there was a better method where a change on the server side(in this case the sending of the string message) would result in the server alerting the clients of this update.