IPWorks EDI 2020 Python Edition

Questions / Feedback?

on_end_transfer Event

Fired when a document finishes transferring.

Syntax

class AS2SenderEndTransferEventParams(object):
  @property
  def direction() -> int: ...

# In class AS2Sender:
@property
def on_end_transfer() -> Callable[[AS2SenderEndTransferEventParams], None]: ...
@on_end_transfer.setter
def on_end_transfer(event_hook: Callable[[AS2SenderEndTransferEventParams], None]) -> None: ...

Remarks

The on_end_transfer event is fired first when the client finishes sending data to the server (in a 'POST' or 'PUT' request) and then when the document text finishes transferring from the server to the local host.

The Direction parameter shows whether the client (0) or the server (1) is sending the data.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8162]