public function SearchApiSolrConnection::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.
Overrides SearchApiSolrConnectionInterface::getStreamContext
File
- includes/
solr_connection.inc, line 277
Class
- SearchApiSolrConnection
- Represents a Solr server resource.
Code
public function getStreamContext() {
return $this->stream_context;
}