Skip to content

More flexible options with headers and authentication

Choose a tag to compare

@ianrothmann ianrothmann released this 05 May 12:19
· 15 commits to main since this release

You have some different options for adding headers and authentication:

$runnable->authenticateWithBearerToken('your-token'); //Add a Bearer token header with the token
$runnable->authenticateWithXToken('your-token'); //Add the X-Token header, if you implemented it according to the LangServe
$runnable->addHeader('Key', 'Value'); //Add any other header