Skip to content

web wasm support #110

@aakhalilian

Description

@aakhalilian

building web --wasm is successful but after running stomp client connect will throw this error in the console:

'No implementation of the connect api provided'

I think it's because in web assembly dart.library.html is not there nor is dart.library.io

import 'connect_api.dart'
    if (dart.library.html) 'connect_html.dart'
    if (dart.library.io) 'connect_io.dart' as platform;

https://github.com/blackhorse-one/stomp_dart_client/blob/master/lib/src/stomp_handler.dart#L14

is there a plan to fix it and support web assembly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions