ews php - Push notifications vs Streaming notifications

383 Views Asked by At

I'm trying to sync all calendars in my exchange server with my app, and for that, I am using PHP-EWS: jamesiarmes/php-ews!

After some research, I found 2 options to consider:

  1. Push notifications - I've worked with something similar before, in this case, I should know how it works!

  2. Streaming notifications - I've never worked with this before and I don't understand it, do I need to check from x to x time if there are any notifications for the created channel?

Can you help me choose between the two of them since I don't understand the streaming notification to 100%?

1

There are 1 best solutions below

1
On

With streaming notifications, your client opens a long running HTTP request to the server and the server sends events in the HTTP response over a long period. This can be done without additional software in the client.

With push notifications, you give the server a URL to send notifications to as HTTP requests. This requires that the client have an HTTP server running and an application to process events.

I believe EWS only supports streaming notifications. I'm not sure what that PHP library supports.