AkismetComment

fun AkismetComment(request: HttpServletRequest)

Creates a new instance extracting the userIp, userAgent, referrer and serverEnv environment variables from a Servlet request.

See the Akismet API for more details.

See also


fun AkismetComment(userIp: String, userAgent: String)

Creates a new instance.

See the Akismet API for more details.

Parameters

userIp

IP address of the comment submitter.

userAgent

User agent string of the web browser submitting the comment.

Sources

Link copied to clipboard
Link copied to clipboard