Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Request.getLanguages

Request.getLanguages() -> list

Description

Get the list of language codes accepted by the client.

if Request.getLanguages().contains('fr') {
    print('Bon jour!')
}

See Also