TClientSink
Interface Synopsis
final class TClientSink {...}
Public Methods
->__construct(): void
->genCreditsOrFinalResponse(): Awaitable<?(int, ?string, ?string)>
->genCreditsOrFinalResponseHelper(): Awaitable<(int, ?string, ?Exception)>
->genSink<TSinkType, TFinalResponseType>(HH\AsyncGenerator<null, TSinkType, void> $payload_generator, (function(?TSinkType, ?Exception): (string, ?bool)) $payloadEncode, (function(?string, ?Exception): TFinalResponseType) $finalResponseDecode): Awaitable<TFinalResponseType>
->sendClientException(string $ex_encoded_string, ?string $ex_msg): void
->sendPayloadOrSinkComplete(?string $payload): bool