JSONPTransport constructor

JSONPTransport(
  1. SocketConnect connect
)

Implementation

JSONPTransport(SocketConnect connect) : super(connect) {
  head = '___eio[' +
      (connect.request.uri.queryParameters['j'] ?? '')
          .replaceAll(RegExp('[^0-9]'), '') +
      '](';
  foot = ');';
}