Cloud Mail 2020 Python Edition

Questions / Feedback?

on_status Event

Fired when the HTTP status line is received from the server.

Syntax

class OAuthStatusEventParams(object):
  @property
  def http_version() -> str: ...
  @property
  def status_code() -> int: ...
  @property
  def description() -> str: ...

# In class OAuth:
@property
def on_status() -> Callable[[OAuthStatusEventParams], None]: ...
@on_status.setter
def on_status(event_hook: Callable[[OAuthStatusEventParams], None]) -> None: ...

Remarks

HTTPVersion is a string containing the HTTP version string as returned from the server (e.g. "1.1").

StatusCode contains the HTTP status code (e.g. 200), and Description the associated message returned by the server (e.g. "OK").

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 Python Edition - Version 20.0 [Build 7718]