/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
// Parse a STUN/TURN URI per webrtc-pc, RFCs 7064/7065 // Uses NS_NewURI for initial parsing and scheme normalization, then applies // STUN/TURN-specific validation. // Possible exceptions currently include SyntaxError and NotSupportedError. static Result<StunTurnUri, ErrorResult> ParseStunTurnUri( const nsACString& aUri);
// Parse and validate an array of RTCIceServer into flattened ParsedIceServer // structs. Checks URI syntax, credential presence/length for TURN, and port // safety. // Possible exceptions currently include SyntaxError, NotSupportedError, and // InvalidAccessError. static Result<nsTArray<ParsedIceServer>, ErrorResult> Parse( const nsTArray<dom::RTCIceServer>& aIceServers);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.