How to get media URL with https connection from Rets server? - rets

Currently i am getting residential lease and media data from Rets server and displaying those information on my portal but i am getting media data with http conection from RETS server because of this my site does not secure. So, how can i get https connection for Medial URLs from Rets server?
Please anybody help me on this.
Best Regards,
Johson

Related

How to use websocket client in laravel backend

I have one api for stock trade.
this is the url for websocket communication with api server.
https://kite.trade/docs/connect/v3/websocket/
I've read about websocket for laravel, but almost are the content about sending socket request from client to server.
If then, in my case, I have to turn on browser all day long to get live market quote.
I want to make it possible to get live market data without turn on browser.
Till my understanding is, in node.js, using socket.io client, it is possible to send websocket request from server to socket server.
But in laravel, I could not find way.
If anyone has experience, please help me.
Thanks.

How to measure performance when different servers are involved to get response?

How a request goes from one server to another before sending response back to web browser?
When tried online, I got web browser to web server, but what about other servers like app server and Db server etc.?

Can a web browser client connect directly to a remote websocket server?

Assuming I have an apache server with an html page, can I include javascript on that html page that attempts to connect to `ws://remote-server.com:24325' to receive messages from the remote host? Most examples I see online are having html pages with javascript that connect to a localhost websocket server like: ws://localhost:24325
Yes, you can use Javascript in your page to connect to a remote server via a webSocket connection. That's what the webSocket functionality built into a browser is for.
The localhost examples you see are probably just examples for local development testing.
Of course, in order to connect to a given host, that host must be running a webSocket server and be accepting incoming connections.

websocket, how to not allow cross domain access?

Since the Origin does not work in the case of non-browser clients: non-browser clients can connect to a Websocket server with a fake origin. Non browser clients thereby can do requests that a programmer want through a program. How to stop this? I want that only my script hosted on my domain can connect to my websocket server. This page offers a “ticket”-based authentication system: https://devcenter.heroku.com/articles/websocket-security
However, it looks like it does not solve this problem because any non-browser clients from anywhere can have a ticket also.
I want that only my script hosted on my domain can connect to my websocket server.
Please tell me how to solve this. Thanks.

http streaming TO server FROM client (mobile device)

I know it's possible to stream content from a server to a web browser. I'm curious if there is a method to allow the same in reverse; and once a page is requested/connection established to then try and keep it open and stream content to the server from the client without continually re-initiating a connection/POSTing to the server. I have tried searching for such a thing but I always find information about http streaming from server to client and not the other way around. This is specifically to target mobile devices and stream chunks of text up to the server.
Thanks in advance for any info or advice!

Resources