You are here

public function SearchApiSolrConnectionInterface::getStreamContext in Search API Solr 7

Returns the stream context to use for requests to the Solr server.

By default, no special stream context will be used and this method will return NULL.

Return value

resource|null A valid stream context as created by stream_context_create(). Or NULL if the default behavior is used.

1 method overrides SearchApiSolrConnectionInterface::getStreamContext()
SearchApiSolrConnection::getStreamContext in includes/solr_connection.inc
Returns the stream context to use for requests to the Solr server.

File

includes/solr_connection.interface.inc, line 69

Class

SearchApiSolrConnectionInterface
The interface for a Solr connection class.

Code

public function getStreamContext();