sorry but why is the "web" part relevant for that? cant you keep a normal tcp or udp connection open?

Yes as with many things these days it just makes it easier to integrate with existing systems, like web browsers. So you can have an entire client built into a web page without needing special server software to translate between NOSTRs native connection to a websocket. Plus it makes hosting easier in some cases.