Skip to content

Cant connect to meteor.Nothing happens #11

@lastpeony

Description

@lastpeony

When i run the py file,just nothing happens and programme terminates.Server is running port and everything is correct

from DDPClient import DDPClient
  
client = DDPClient('ws://127.0.0.1:3000/websocket')
client.connect()
def connected():
    print("connected")

client.on('connected', connected)    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions