Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. ashokkmr22
    3. Best
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by ashokkmr22

    • RE: Websocket 2.0

      Below code will work use it for time being

      @staticmethod
          def _parse_token_value(binary_packet):
              token = ""
              token_data = binary_packet.split(b'\x00')
              for split in token_data:
                  if split:
                      token = split.decode("UTF-8")
              return token
      
      posted in Python SDK
      A
      ashokkmr22
    • RE: Websocket 2.0

      @rajanprabu

      Below code will work. Use it for time being.

      @staticmethod
          def _parse_token_value(binary_packet):
              token = ""
              token_data = binary_packet.split(b'\x00')
              for split in token_data:
                  if split:
                      token = split.decode("UTF-8")
              return token
      
      posted in Python SDK
      A
      ashokkmr22