Creates a PSR transport falling back to a discovery mechanism if properties are not specified.
Methods | ||
---|---|---|
protected
|
getHttpClient(): ?ClientInterface
|
# |
public
|
setHttpClient(?ClientInterface $httpClient): static
|
# |
protected
|
getRequestFactory(): ?RequestFactoryInterface
|
# |
public
|
setRequestFactory(?RequestFactoryInterface $requestFactory): static
|
# |
protected
|
getPsrRequestFactory(): RequestFactoryInterface
|
# |
public
|
setPsrRequestFactory(RequestFactoryInterface $psrRequestFactory): static
|
# |
protected
|
getStreamFactory(): StreamFactoryInterface
|
# |
public
|
setStreamFactory(StreamFactoryInterface $streamFactory): static
|
# |
protected
|
getUriFactory(): UriFactoryInterface
|
# |
public
|
setUriFactory(UriFactoryInterface $uriFactory): static
|
# |
protected
|
getSerializer(): SerializerInterface
|
# |
public
|
setSerializer(SerializerInterface $serializer): static
|
# |
public
|
create(): HttpTransport
|
# |