|
|
|
|
|
by ljm
658 days ago
|
|
I need to do some realtime stuff which involves some kind of realtime updates of some sort, I guess I can call `/api/call.sock` and it'll just work? Oh, I'm also supporting streaming. Will `/api/call.rtmp` work for me? What's worse, I even allow voice chat and video calls! I guess I can just do `/api/call.webrtc`? I also forget that I serve a lot of P2P traffic, so I guess I can just add `api/call.udp` too. The problem I have now is, how do I serve this over HTTPS? I can't pick the protocol because that'd be doing it wrong. Do I serve extra APIs like `call.rtmps`, `call.webrtcs`, `call.udps`? I haven't even told you how fucking awkward it is to constantly enter my login details to work with my git repository and `github.com/my/repo.ssh` just gives me a 404. APIs are a lot more than just content negotiation; the protocol is a necessary part of it and it just so happens with the web (not the internet) that the protocol is HTTP(S) over TCP and advances in technology have continued to stress its utility. |
|