What a transport resolves with. The engine is lenient about the shapes a custom
transport naturally returns: headers may be a plain record in any letter case, a
WHATWG Headers object or a Map; body may be a Buffer, any ArrayBuffer view
(fetch's Uint8Array, from any realm) or an ArrayBuffer. Anything else, or a
status outside 100–599, is a LobbyNetworkError.
What a transport resolves with. The engine is lenient about the shapes a custom transport naturally returns:
headersmay be a plain record in any letter case, a WHATWGHeadersobject or aMap;bodymay be a Buffer, anyArrayBufferview (fetch'sUint8Array, from any realm) or anArrayBuffer. Anything else, or astatusoutside 100–599, is a LobbyNetworkError.