Request

Protocols use `Request`s to specify data that is sent to a transport.

Decorators
dataclasses.dataclass

Methods

  • __init__(self, payload : bytes, timeout : typing.Optional[float]) -> None

    Parameters

    • Name
      self
      Type
      Default
      Description

    • Name
      payload
      Type
      bytes
      Default
      Description

    • Name
      timeout
      Type
      typing.Optional[float]
      Default
      = None
      Description

  • __post_init__(self) -> None

Attributes

  • Name
    payload
    Type
    bytes
    Value

    = None

    Description

  • Name
    timeout
    Type
    typing.Optional[float]
    Value

    = None

    Description

Copyright © 2024