AkismetComment

fun AkismetComment(request: HttpServletRequest)

Create an Akismet comment 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)

Create an Akismet comment 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.