Class BodyHandler A utility class that can be used to support binary responses. Its handleBodyPart method can be used as callback to methods that require a body handler callable.
Methods | ||
---|---|---|
final
public
|
handleBodyPart(string $bodyPart, array $headers)
|
# |
final
public
|
close()
|
# |
protected
|
initialize(array $headers)
|
# |
protected
|
doHandleBodyPart(string $bodyPart)
|
# |
protected
|
doCleanup()
|
# |