Added docs.
This commit is contained in:
parent
de1b5caef4
commit
fc4b25bda4
60 changed files with 829 additions and 0 deletions
37
docs/net.thauvin.erik.akismet/-akismet-comment/-init-.md
Normal file
37
docs/net.thauvin.erik.akismet/-akismet-comment/-init-.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
[docs](../../index.md) / [net.thauvin.erik.akismet](../index.md) / [AkismetComment](index.md) / [<init>](./-init-.md)
|
||||
|
||||
# <init>
|
||||
|
||||
`AkismetComment(request: `[`HttpServletRequest`](https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/HttpServletRequest.html)`)`
|
||||
|
||||
Create an Akismet comment extracting the [userIp](user-ip.md), [userAgent](user-agent.md), [referrer](referrer.md) and [serverEnv](server-env.md) environment variables
|
||||
from a Servlet request.
|
||||
|
||||
See the
|
||||
[Akismet API](https://akismet.com/development/api/#comment-check) for more details.
|
||||
|
||||
**See Also**
|
||||
|
||||
[serverEnv](server-env.md)
|
||||
|
||||
`AkismetComment(userIp: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)`
|
||||
|
||||
Create an Akismet comment instance.
|
||||
|
||||
See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details.
|
||||
|
||||
### Parameters
|
||||
|
||||
`userIp` - IP address of the comment submitter.
|
||||
|
||||
`userAgent` - User agent string of the web browser submitting the comment.
|
||||
|
||||
**Constructor**
|
||||
|
||||
Create an Akismet comment instance.
|
||||
|
||||
|
||||
|
||||
|
||||
See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue