Skip to main content

Create your own profanity filter Extend Override app

Last updated on December 14, 57355

Overview

This article explains the API contract (Protobuf) used in the Extend Override app for profanity filter.

service ProfanityFilterService {

rpc Validate(ExtendProfanityValidationRequest) returns (ExtendProfanityValidationResponse);
}

API Contract

Validate

Validate is called when a user's generated content needs to be validated.

In the app, the following function can be found in src/AccelByte.PluginArch.ProfanityFilter.Demo.Server/Services/ProfanityFilterServiceImpl.cs.

public override Task<ExtendProfanityValidationResponse> Validate(ExtendProfanityValidationRequest request, ServerCallContext context)
{
...
}
info

You could find more information about gRPC request handling here.